You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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
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 containingdeclare module 'react-one-tab-enforcer';
ts(7016)"Any idea on how I can solve this issue?
The text was updated successfully, but these errors were encountered: