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-one-tab-enforcer' #9

Open
FattyBBrrito opened this issue Mar 30, 2021 · 0 comments

Comments

@FattyBBrrito
Copy link

Hi, I've installed the package but there is an error when I try to import it as per the instruction >
import { withOneTabEnforcer } from "react-one-tab-enforcer";

The error message is
"Could not find a declaration file for module 'react-one-tab-enforcer'. '/Users/XXX/git/XXX/node_modules/react-one-tab-enforcer/dist/index.js' implicitly has an 'any' type. Try npm install @types/react-one-tab-enforcer if it exists or add a new declaration (.d.ts) file containing declare module 'react-one-tab-enforcer';ts(7016)"

Any idea on how I can solve this issue?

@FattyBBrrito FattyBBrrito changed the title Could not find a declaration file for module 'react-one-tab-enforcer'. Could not find a declaration file for module 'react-one-tab-enforcer' Mar 30, 2021
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

1 participant