From 0c052ef9ef42e18fe15faa48a96aec79a08d9e5c Mon Sep 17 00:00:00 2001 From: ZiGmaX809 Date: Thu, 21 Jul 2022 11:10:03 +0800 Subject: [PATCH 1/2] 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 }, From 04f7bb5f0167ff4417cbb366f1423c1e0aee1956 Mon Sep 17 00:00:00 2001 From: ZiGma Date: Thu, 21 Jul 2022 13:17:06 +0800 Subject: [PATCH 2/2] Update tsconfig.node.json --- tsconfig.node.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.node.json b/tsconfig.node.json index e3f9b6d..18bb1d4 100644 --- a/tsconfig.node.json +++ b/tsconfig.node.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "es2017", + "target": "ESNext", "composite": true, "module": "ESNext", "moduleResolution": "Node",