Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Improve vue-i18n example #19

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion examples/vue-i18n/utils/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ export type I18nSchema = typeof schema;
export type I18nLocales = 'en' | 'ko';

export default createI18n<[I18nSchema], I18nLocales>({
messages: messages as any,
locale: browser.i18n.getUILanguage(),
messages: messages as Record<I18nLocales, I18nSchema>,
});