Feb 15, 2022
Tricky question. It's not possible unless there are no translation files in a React app. As a workaround you can one file with translations to the React app. Or you can add a json file with the same structure as translation files, but with empty values, just to let TypeScript know what namespaces and keys are presented.