8 lines
194 B
TypeScript
8 lines
194 B
TypeScript
import 'react'
|
|
|
|
declare module 'react' {
|
|
// add webkitdirectory to input element React.InputHTMLAttributes<HTMLInputElement>
|
|
interface HTMLInputElement {
|
|
webkitdirectory?: boolean
|
|
}
|
|
}
|