Skip to content

Add typescript compatibility (.d.ts) #23

@DavAnaton

Description

@DavAnaton

Importing this module in a typescript project fails.

Could not find a declaration file for module 'react-flags'. '/project/node_modules/react-flags/lib/react-flags.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/react-flags` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-flags';`  TS7016

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