From 0c052ef9ef42e18fe15faa48a96aec79a08d9e5c Mon Sep 17 00:00:00 2001 From: ZiGmaX809 Date: Thu, 21 Jul 2022 11:10:03 +0800 Subject: [PATCH] resolve [TypeScript intellisense is disabled on template. To enable, configure `"jsx": "preserve"` in the `"compilerOptions"` property of tsconfig or jsconfig. To disable this prompt instead, configure `"experimentalDisableTemplateSupport": true` in `"vueCompilerOptions"` property.volar] & can't usr top level `await` expressions. --- tsconfig.node.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tsconfig.node.json b/tsconfig.node.json index 84b5c20..e3f9b6d 100644 --- a/tsconfig.node.json +++ b/tsconfig.node.json @@ -1,8 +1,10 @@ { "compilerOptions": { + "target": "es2017", "composite": true, "module": "ESNext", "moduleResolution": "Node", + "jsx": "preserve", "resolveJsonModule": true, "allowSyntheticDefaultImports": true },