From e4fbbcbc5a68810ceb0fa70710c93208eb2064ea Mon Sep 17 00:00:00 2001 From: Alexander Kiselev <alexander.kiselev@metabase.com> Date: Fri, 8 Oct 2021 08:16:20 -0700 Subject: [PATCH] Enable `allowJs` and some other options in tsconfig (#18332) * set `allowJs` to true in tsconfig. This allows TS to infer types from JS files * added decorators --- tsconfig.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tsconfig.json b/tsconfig.json index e1af95256dc..660542786b1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -17,6 +17,9 @@ "./enterprise/frontend/test/*" ] }, + "allowJs": true, + "esModuleInterop": true, + "experimentalDecorators": true, "forceConsistentCasingInFileNames": true }, "include": [ -- GitLab