freeCodeCamp/client/src/i18next.d.ts
Mateo Guzmán a314242727
fix(types): four-oh-four props, global i18next definition for returnNull (#50809)
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
2023-06-29 09:16:17 +02:00

9 lines
165 B
TypeScript

import 'i18next';
// This should not be necessary when upgrading to v23.0.0
declare module 'i18next' {
interface CustomTypeOptions {
returnNull: false;
}
}