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
Hello,
I have successfully installed the package in my InertiaJS/Vue/Typescript application and am using it.
But, after running the "npm run build" command, I get a message that there are no types for Typescript.
resources/js/Layouts/MainTemplate.vue:5:21 - error TS7016: Could not find a declaration file for module 'momentum-modal'. 'C:/Projects/neocrops/node_modules/momentum-modal/dist/momentum-modal.js' implicitly has an 'any' type.
There are types at 'C:/Projects/neocrops/node_modules/momentum-modal/dist/types/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'momentum-modal' library may need to update its package.json or typings.
Can you update the package or give me some advice?
Thanks in advance
The text was updated successfully, but these errors were encountered:
Hello,
I have successfully installed the package in my InertiaJS/Vue/Typescript application and am using it.
But, after running the "npm run build" command, I get a message that there are no types for Typescript.
resources/js/Layouts/MainTemplate.vue:5:21 - error TS7016: Could not find a declaration file for module 'momentum-modal'. 'C:/Projects/neocrops/node_modules/momentum-modal/dist/momentum-modal.js' implicitly has an 'any' type.
There are types at 'C:/Projects/neocrops/node_modules/momentum-modal/dist/types/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'momentum-modal' library may need to update its package.json or typings.
Can you update the package or give me some advice?
Thanks in advance
The text was updated successfully, but these errors were encountered: