MichaelCereda / react-native-form-generator

Generate forms with native look and feel in a breeze
MIT License
377 stars 105 forks source link

Could not find a declaration file for module 'react-native-form-generator' with Typescript #121

Open dav-ell opened 7 years ago

dav-ell commented 7 years ago

I'm using the example provided, and the import for react-native-form-generator produces the following error:

[ts]
Could not find a declaration file for module 'react-native-form-generator'. 'c:/Users/David Elliott/Documents/Dynin/node_modules/react-native-form-generator/index.js' implicitly has an 'any' type.
  Try `npm install @types/react-native-form-generator` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-native-form-generator';`

I'm using Typescript 2.5.2 and react-native-form-generator 0.9.9.

danielmhanover commented 6 years ago

Did you end up creating a type declaration file for this library?