mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
18 lines
351 B
TypeScript
18 lines
351 B
TypeScript
import 'i18next';
|
|
|
|
import en from '../public/locales/en.json';
|
|
|
|
declare module 'i18next' {
|
|
// Extend CustomTypeOptions
|
|
interface CustomTypeOptions {
|
|
// Setting Default Namespace As English
|
|
defaultNS: 'en';
|
|
// Custom Types For Resources
|
|
resources: {
|
|
en: typeof en;
|
|
};
|
|
// Never Return Null
|
|
returnNull: false;
|
|
}
|
|
}
|