From bb281bfff43badf33d000f29dc92a57c8e9217f6 Mon Sep 17 00:00:00 2001 From: mahamdan Date: Thu, 8 Dec 2022 15:28:22 +0200 Subject: [PATCH] Changing lib compiler option for TypeScript type definitions to use ESNext for better usage of proposals --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 21dbb32607..11b075c943 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,7 +13,7 @@ "importHelpers": true, "outDir": "lib", "pretty": true, - "lib": ["es2015", "es2016", "es2017", "dom", "WebWorker.ImportScripts"], + "lib": ["es2015", "es2016", "es2017", "dom", "WebWorker.ImportScripts", "esnext"], "jsx": "react", "types": ["webpack", "webpack-env", "jest"] },