From 2a450c095c000c15d6850893eaf529c67638be1c Mon Sep 17 00:00:00 2001
From: Florian Duros <florianduros@element.io>
Date: Fri, 30 Aug 2024 15:54:14 +0200
Subject: [PATCH] Add `allowImportingTsExtensions` to tsconfig (#12939)

---
 playwright/tsconfig.json | 3 ++-
 tsconfig.json            | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/playwright/tsconfig.json b/playwright/tsconfig.json
index 5f3083fd57..442e2527b3 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 55e83d95b9..6c0c92a504 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,5 +1,6 @@
 {
     "compilerOptions": {
+        "allowImportingTsExtensions": true,
         "experimentalDecorators": false,
         "emitDecoratorMetadata": false,
         "resolveJsonModule": true,
-- 
GitLab