-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The following error occurs while running npm run type-check.
[CustomFile.vue]:224:23 - error TS7016: Could not find a declaration file for module 'miru.ink/button/ButtonStd.vue'. 'C:/[...]/node_modules/miru.ink/button/ButtonStd.vue' implicitly has an 'any' type.
There are types at 'C:/[...]/node_modules/miru.ink/button/ButtonStd.d.vue.ts', but this result could not be resolved when respecting package.json "exports". The 'miru.ink' library may need to update its package.json or typings.
Seems to be the same error as found on this discussion -< Need to find out what solution has been used there.
However, current temporary solution (as mentioned by adrianszymanski89) works so far:
In your vite-env.d.ts file, you have to add this line:
declare module "*";
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working