Skip to content

Commit

Permalink
Prevent i18next from barking
Browse files Browse the repository at this point in the history
  • Loading branch information
xmflsct committed Nov 17, 2022
1 parent 1b2e651 commit 94c4c7c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/@types/i18next.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import 'i18next'

declare module 'i18next' {
interface CustomTypeOptions {
defaultNS: 'common',
returnNull: false
}
}

0 comments on commit 94c4c7c

Please sign in to comment.