generated from archtechx/template
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
TypeScript typings #60
Comments
Would be great to have Typescript compatibility out the box also! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: