Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dav-ell opened this issue Sep 19, 2017 · 1 comment

Comments

@dav-ell
Copy link

dav-ell commented Sep 19, 2017

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants