diff --git a/playwright/tsconfig.json b/playwright/tsconfig.json
index 5f3083fd57bfb07ab0ddee05d8c93684b935ec6b..442e2527b3cdd1c5e445e83f43dae11298ec8eee 100644
--- a/playwright/tsconfig.json
+++ b/playwright/tsconfig.json
@@ -6,7 +6,8 @@
         "resolveJsonModule": true,
         "esModuleInterop": true,
         "moduleResolution": "node",
-        "module": "es2022"
+        "module": "es2022",
+        "allowImportingTsExtensions": true
     },
     "include": [
         "**/*.ts",
diff --git a/tsconfig.json b/tsconfig.json
index 55e83d95b979491754e8681c1b9631ab755bd09e..6c0c92a504e755dd92e096f20c23b6f681314f08 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,5 +1,6 @@
 {
     "compilerOptions": {
+        "allowImportingTsExtensions": true,
         "experimentalDecorators": false,
         "emitDecoratorMetadata": false,
         "resolveJsonModule": true,