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
Importing functions from vuetify/lib/util/colorUtils.mjs results in the following ts error: Could not find a declaration file for module 'vuetify/lib/util/colorUtils.mjs'. '.../node_modules/vuetify/lib/util/colorUtils.mjs' implicitly has an 'any' type.
This requires the creation of a custom type declaration file to resolve the ts error.
Problem to solve
Importing functions from
vuetify/lib/util/colorUtils.mjs
results in the following ts error:Could not find a declaration file for module 'vuetify/lib/util/colorUtils.mjs'. '.../node_modules/vuetify/lib/util/colorUtils.mjs' implicitly has an 'any' type.
This requires the creation of a custom type declaration file to resolve the ts error.
Proposed solution
Create a
colorUtils.d.ts
file and modify vuetify/packages/vuetify/package.jsonexports
in one of the following ways:"./util/colors": "./lib/util/colors.mjs"
with"./util/*": "./lib/util/*.mjs"
(like 'blueprints', 'adapters', and 'iconsets'); or"./util": "./lib/util/index.mjs"
(like 'blueprints', 'components', 'directives', and 'locale'); or"./util/colorUtils": "./lib/util/colorUtils.mjs"
(like 'colors')The text was updated successfully, but these errors were encountered: