UNPKG

react-hook-form

Version:

Performant, flexible and extensible forms library for React Hooks

12 lines (9 loc) 491 B
/* 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 {}