react-hook-form-6
Version:
Latest version 6 of react-hook-form
13 lines (10 loc) • 521 B
TypeScript
/*
Projects that React Hook Form installed don't include the DOM library need these interfaces to compile.
React Native applications is no DOM available. The JavaScript runtime is ES6/ES2015 only.
These definitions allow such projects to compile with only --lib ES6.
Warning: all of these interfaces are empty.
If you want type definitions for various properties, you need to add `--lib DOM` (via command line or tsconfig.json).
*/
interface HTMLOptionsCollection {}
interface FileList {}
interface MutationObserver {}