Skip to content

@types missing, problems using lib with TS #25

@geoche

Description

@geoche

After installation always have an error

TS7016: Could not find a declaration file for module 'react-native-advertising-id'. 'E:/Projects/application/node_modules/react-native-advertising-id/index.js' implicitly has an 'any' type.   Try npm install @types/react-native-advertising-id if it exists or add a new declaration (.d.ts) file containing declare module 'react-native-advertising-id';

Already tried creating new externals.d.ts with module declaration, some configurations in tscofing. Nothing helped.

Any suggestions?

RN: 0.59.5 with Redux and TS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions