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
Currently I did not yet manage to properly build typescript types for the vue-peaks component and include them is the npm package in a usable manner.
You currently get the warning:
Could not find a declaration file for module 'vue-peaks'. '/..../node_modules/vue-peaks/dist/vue-peaks.js' implicitly has an 'any' type.
Try npm i --save-dev @types/vue-peaks if it exists or add a new declaration (.d.ts) file containing declare module 'vue-peaks';ts(7016)
Workaround: If this causes a problem, follow the suggestion and create the declaration, which just works.
I would gladly accept some guidance here, as various efforts did not yet lead to success. Please comment or contact me otherwise.
The text was updated successfully, but these errors were encountered:
We tried using the alternative approach to import typescript types:
alternative: The package does not currently properly export types, see issue #17. To get TypeScript support, you can also directly include the vue component as SFC:
However, this didn't work because the types aren't exported in your package.json:
Currently I did not yet manage to properly build typescript types for the vue-peaks component and include them is the npm package in a usable manner.
You currently get the warning:
Workaround: If this causes a problem, follow the suggestion and create the declaration, which just works.
I would gladly accept some guidance here, as various efforts did not yet lead to success. Please comment or contact me otherwise.
The text was updated successfully, but these errors were encountered: