From 8c540986f3c744c6541b55e5b96d73dfc2e012d8 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Thu, 7 Nov 2019 15:07:13 +0700 Subject: [PATCH] Add the new `useDefineForClassFields` flag https://devblogs.microsoft.com/typescript/announcing-typescript-3-7/ --- tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.json b/tsconfig.json index bda19f5..40c1296 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,6 +18,7 @@ "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, "noEmitOnError": true, + "useDefineForClassFields": true, "forceConsistentCasingInFileNames": true, "skipLibCheck": true }