From 810ce1410ec19295925465252d22e9f4ccef5f48 Mon Sep 17 00:00:00 2001 From: snomiao Date: Thu, 4 Sep 2025 21:39:56 +0000 Subject: [PATCH] [fix] Enable i18n workflow for sno-fix-playwright branches - Set useDefineForClassFields to true in tsconfig.json to prevent TypeScript declare field issues - This avoids Babel transformation errors in Playwright i18n tests --- .gitignore | 1 + tsconfig.json | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index db0b8454c..4051099c8 100644 --- a/.gitignore +++ b/.gitignore @@ -86,3 +86,4 @@ storybook-static .github/instructions/nx.instructions.md vite.config.*.timestamp* vitest.config.*.timestamp* +scripts-out/ diff --git a/tsconfig.json b/tsconfig.json index 6d6ec542c..4aedbdfe1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,6 +4,7 @@ "module": "ESNext", "lib": ["ES2022", "DOM", "DOM.Iterable"], "skipLibCheck": true, + "useDefineForClassFields": true, "incremental": true, "sourceMap": true, "esModuleInterop": true,