Skip to content

Commit 35030b9

Browse files
committed
fix others
1 parent c7b5042 commit 35030b9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

examples/backend/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import type { Locales } from './constants'
1111
const messages = await load<Locales>(locales)
1212

1313
// create i18n instance
14-
const i18n = createI18n<[ResourceSchema], Locales, false>({
14+
const i18n = createI18n<[ResourceSchema], Locales>({
1515
locale: 'en',
1616
messages
1717
})

examples/type-safe/type-annotation/src/main.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ const i18n = createI18n<
1616
message: MessageSchema
1717
number: NumberSchema
1818
},
19-
'en-US',
20-
false
19+
'en-US'
2120
>({
2221
locale: 'en-US',
2322
messages: {

0 commit comments

Comments
 (0)