Skip to content

Commit 1076aad

Browse files
Apply workaround for Vue
1 parent 20831b7 commit 1076aad

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

Vue/tsconfig.app.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"compilerOptions": {
66
"composite": true,
77
"baseUrl": ".",
8+
// Workaround for https://github.com/vuejs/tsconfig/issues/6
9+
"preserveValueImports": false,
10+
"importsNotUsedAsValues": "remove",
11+
"verbatimModuleSyntax": true,
812
"paths": {
913
"@/*": ["./src/*"]
1014
}

Vue/tsconfig.config.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
"include": ["vite.config.*", "vitest.config.*", "cypress.config.*", "playwright.config.*"],
44
"compilerOptions": {
55
"composite": true,
6-
"types": ["node"]
6+
"types": ["node"],
7+
// Workaround for https://github.com/vuejs/tsconfig/issues/6
8+
"preserveValueImports": false,
9+
"importsNotUsedAsValues": "remove",
10+
"verbatimModuleSyntax": true,
11+
"ignoreDeprecations": "5.0"
712
}
813
}

0 commit comments

Comments
 (0)