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

typscript not support #39

Open
iamir4g opened this issue Jul 27, 2024 · 0 comments
Open

typscript not support #39

iamir4g opened this issue Jul 27, 2024 · 0 comments

Comments

@iamir4g
Copy link

iamir4g commented Jul 27, 2024

hi
i use nextjs 14 with react 18.
i install package with --leagacy-pre-dependency
but get error from typescript how to solve this error :
Could not find a declaration file for module 'mapir-react-component'. '.../node_modules/mapir-react-component/dist/index.cjs.js' implicitly has an 'any' type.
Try npm i --save-dev @types/mapir-react-component if it exists or add a new declaration (.d.ts) file containing declare module 'mapir-react-component';

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