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/nodemodules/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
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/nodemodules/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