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
Vuetify Version: 3.3.0 Vue Version: 3.3.4 Browsers: Chrome 109.0.0.0 OS: Mac OS 10.15.7
Steps to reproduce
yarn add all the stuff the installation page suggests
try to import e.g. createVuetify as a named import from 'vuetify'
see error in IDE or run tsc:
TS7016: Could not find a declaration file for module
'vuetify'. <...>/b-informed/node_modules/vuetify/lib/framework.mjs' implicitly has an 'any' type.
There are types at '<...>/b-informed/node_modules/vuetify/lib/index.d.mts', but this result could
not be resolved when respecting package.json "exports".
The 'vuetify' library may need to update its package.json or typings.
Expected Behavior
Type imports resolve corretly work and TS shows no error
Llois41
changed the title
[Bug Report][3.3.0] Path of types and package.json "exports" field seem to not match
[Bug Report][3.3.0] Path of types and package.json "exports" field seem to not match when using "moduleResolution": "bundler"
May 22, 2023
KaelWD
changed the title
[Bug Report][3.3.0] Path of types and package.json "exports" field seem to not match when using "moduleResolution": "bundler"
[Bug Report][3.3.0] "Could not find a declaration file for module" when using "moduleResolution": "bundler"
May 22, 2023
Environment
Vuetify Version: 3.3.0
Vue Version: 3.3.4
Browsers: Chrome 109.0.0.0
OS: Mac OS 10.15.7
Steps to reproduce
yarn add
all the stuff the installation page suggestscreateVuetify
as a named import from'vuetify'
tsc
:Expected Behavior
Type imports resolve corretly work and TS shows no error
Actual Behavior
see reproduction section
Reproduction Link
https://github.com/Llois41/b-informed
Other comments
Also tried vuetify@3.2.0 and got the same error
The text was updated successfully, but these errors were encountered: