vue-flash-message
vue-flash-message copied to clipboard
suggest adding d.ts file for the module
for Typescript use
Ok, it will be added in upcoming releases. Thank you for a suggestion
This is causing me a problem as I keep getting the error message:
Could not find a declaration file for module 'vue-flash-message'. 'node_modules/vue-flash-message/dist/vue-flash-message.min.js' implicitly has an 'any' type. Try
npm install @types/vue-flash-messageif it exists or add a new declaration (.d.ts) file containing
declare module 'vue-flash-message';``
Any ideas how can resolve this as it means I can't use it until then.
This is causing me a problem as I keep getting the error message:
Could not find a declaration file for module 'vue-flash-message'. 'node_modules/vue-flash-message/dist/vue-flash-message.min.js' implicitly has an 'any' type. Try
npm install @types/vue-flash-messageif it exists or add a new declaration (.d.ts) file containing
declare module 'vue-flash-message';``Any ideas how can resolve this as it means I can't use it until then.
Hi, @nicholascourage! I faced the same problem. Did you manage to solve it?
Hey @liliyavoloshina I can't remember sorry - this was a long time ago (nearly a year). Looking at it again and the error message I would suspect there's an issue with the npm dependancy and suggest deleting your node_modules dir and rerunning npm install -g
, checking the node version installed is compatible, 13/14 have their differences, etc
@nicholascourage, thanks for the answer! I finally figured it out and like you said it was a dependency issue, not a plugin