Skip to content

Commit 6e4e5c4

Browse files
authored
fix(bridge): improvement writable install function for vue-i18n-routing (#973)
* fix(bridge): improvement writable install function for vue-i18n-routing * tweak
1 parent 767a0d0 commit 6e4e5c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/vue-i18n-core/src/i18n.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,7 @@ export function createI18n(options: any = {}, VueI18nLegacy?: any): any {
621621
}
622622
})
623623
Object.defineProperty(i18n, 'install', {
624+
writable: true,
624625
// eslint-disable-next-line @typescript-eslint/no-explicit-any
625626
value: (Vue: any, ...options: unknown[]) => {
626627
const version =

0 commit comments

Comments
 (0)