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
src/plugins/vuetify.ts:22:37 - error TS2322: Type 'I18n<{ en: { $vuetify: { badge: string; close: string; dataIterator: { noResultsText: string; loadingText: string; }; dataTable: { itemsPerPageText: string; ariaLabel: { sortDescending: string; sortAscending: string; sortNone: string; activateNone: string; activateDescending: string; activateAscending: string; }; so...' is not assignable to type 'I18n<{}, {}, {}, string, false>'.
The types of 'global.t' are incompatible between these types.
Type 'ComposerTranslation<{ en: { $vuetify: { badge: string; close: string; dataIterator: { noResultsText: string; loadingText: string; }; dataTable: { itemsPerPageText: string; ariaLabel: { sortDescending: string; sortAscending: string; sortNone: string; activateNone: string; activateDescending: string; activateAscending...' is not assignable to type 'ComposerTranslation<{}, string, RemoveIndexSignature<{ [x: string]: LocaleMessageValue<VueMessageType>; }>, never, never, never>'.
Type 'string' is not assignable to type '"en"'.
22 adapter: createVueI18nAdapter({ i18n, useI18n })
~~~~
node_modules/vuetify/lib/locale/adapters/vue-i18n.d.ts:24:5
24 i18n: I18n<{}, {}, {}, string, false>;
~~~~
The expected type comes from property 'i18n' which is declared here on type 'VueI18nAdapterParams'
Found 1 error in src/plugins/vuetify.ts:22
Environment
Vuetify Version: 3.1.7
Vue Version: 3.2.47
Browsers: Firefox 110.0
OS: Linux x86_64
Steps to reproduce
Attempt to run
npm run build
on the respository.Expected Behavior
The repository should build, uses similar code as outlined in the Docs for using vue-i18n with Vuetify 3
Actual Behavior
Produces the following error:
Reproduction Link
https://github.com/6XGate/vuetify-i18n-bug
The text was updated successfully, but these errors were encountered: