We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7b5042 commit 35030b9Copy full SHA for 35030b9
examples/backend/src/main.ts
@@ -11,7 +11,7 @@ import type { Locales } from './constants'
11
const messages = await load<Locales>(locales)
12
13
// create i18n instance
14
-const i18n = createI18n<[ResourceSchema], Locales, false>({
+const i18n = createI18n<[ResourceSchema], Locales>({
15
locale: 'en',
16
messages
17
})
examples/type-safe/type-annotation/src/main.ts
@@ -16,8 +16,7 @@ const i18n = createI18n<
message: MessageSchema
number: NumberSchema
18
},
19
- 'en-US',
20
- false
+ 'en-US'
21
>({
22
locale: 'en-US',
23
messages: {
0 commit comments