1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-08-09 04:22:45 +03:00

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 eebbf2ff6c
commit 1010945905

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"],
},
],