Skip to content

Commit e94f368

Browse files
committed
fix: fix typescript check warning
1 parent d66eed1 commit e94f368

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/node/i18n/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import i18next from "i18next"
1+
import i18next, { init } from "i18next"
22
import * as en from "./locales/en.json"
33
import * as zhCn from "./locales/zh-cn.json"
44

5-
i18next.init({
5+
init({
66
lng: "en",
77
fallbackLng: "en", // language to use if translations in user language are not available.
88
returnNull: false,

0 commit comments

Comments
 (0)