feat: upgrade next and i18n

This commit is contained in:
spencerwooo
2023-01-26 13:35:41 +08:00
parent 1b6748398f
commit aa9df292f8
4 changed files with 851 additions and 337 deletions
+9
View File
@@ -0,0 +1,9 @@
import 'i18next'
declare module 'i18next' {
interface CustomTypeOptions {
// This is set to prevent i18next's t function to return null
// https://github.com/i18next/next-i18next/issues/2038
returnNull: false
}
}