Skip to content

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

@dav-ell

Description

@dav-ell

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions