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 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';
The text was updated successfully, but these errors were encountered:
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 containingdeclare module 'mapir-react-component';
The text was updated successfully, but these errors were encountered: