From c27182939feeb066d6b8a8ff7e6aa346cb6fecc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Exbrayat?= Date: Wed, 27 Jul 2022 08:19:39 +0200 Subject: [PATCH] chore: use es2016 as a TS target --- tsconfig.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 827dc7733..24fe1719e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,9 +1,13 @@ { "compilerOptions": { - "target": "es5", + "target": "es2016", "outDir": "dist", "module": "esnext", - "lib": ["DOM", "ES2015", "ES2017"], + "lib": [ + "DOM", + "ES2015", + "ES2017" + ], "strict": true, "jsx": "preserve", "moduleResolution": "node",