From 9ac20de5b57c4776cdc30bcda3ea1d150aea6dce Mon Sep 17 00:00:00 2001 From: Emmanuel Raviart <emmanuel@raviart.com> Date: Mon, 14 Jun 2021 09:06:55 +0200 Subject: [PATCH] Now requires a TypeScript target set to es2020. --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 1d2637b85..a773966fb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,7 @@ "moduleResolution": "node", "module": "es2020", "lib": ["es2020"], - "target": "es2019", + "target": "es2020", /** svelte-preprocess cannot figure out whether you have a value or a type, so tell TypeScript to enforce using \`import type\` instead of \`import\` for Types. -- GitLab