From 055b8909afc60cf7639a10699d936055e54881d9 Mon Sep 17 00:00:00 2001 From: Remco Haszing Date: Wed, 13 Apr 2022 18:43:35 +0200 Subject: [PATCH] Define TypeScript compiler target (#522) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit TypeScript was complaining about some syntax features, this solves it. It doesn’t affect the output, as `tsdx` ignores the `target` property. --- packages/tailwindcss-language-service/tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/tailwindcss-language-service/tsconfig.json b/packages/tailwindcss-language-service/tsconfig.json index a3cfa3c..1cfcc9b 100644 --- a/packages/tailwindcss-language-service/tsconfig.json +++ b/packages/tailwindcss-language-service/tsconfig.json @@ -3,6 +3,7 @@ "compilerOptions": { "module": "esnext", "lib": ["ES2020"], + "target": "ES2020", "importHelpers": true, "declaration": true, "sourceMap": true,