react-native-form-generator icon indicating copy to clipboard operation
react-native-form-generator copied to clipboard

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

Open dav-ell opened this issue 7 years ago • 1 comments

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.

dav-ell avatar Sep 19 '17 05:09 dav-ell

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

danielmhanover avatar Jul 04 '18 20:07 danielmhanover