Update i18next-parser.config.ts

This commit is contained in:
Michael Telatynski
2023-11-17 12:39:35 +00:00
committed by Quentin Gliech
parent 44168aa628
commit 84e34d6d1b

View File

@@ -22,7 +22,14 @@ const config: UserConfig = {
ts: [
{
lexer: "JavascriptLexer",
functions: ["t", "translatedError"],
functions: ["t"],
namespaceFunctions: ["useTranslation", "withTranslation"],
},
],
tsx: [
{
lexer: "JsxLexer",
functions: ["t"],
namespaceFunctions: ["useTranslation", "withTranslation"],
},
],