feat: add typescript support to i18next
This commit is contained in:
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
import { resources, defaultNS } from "./i18n";
|
||||
|
||||
declare module "i18next" {
|
||||
interface CustomTypeOptions {
|
||||
allowObjectInHTMLChildren: true,
|
||||
returnNull: false;
|
||||
defaultNS: typeof defaultNS;
|
||||
resources: typeof resources["en"];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user