Skip to content

Commit 0899008

Browse files
committed
chore: exclude class components from test type-checking
This is no longer suypported by vue-tsc v3.1+
1 parent 2324c65 commit 0899008

File tree

3 files changed

+19
-34
lines changed

3 files changed

+19
-34
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"vue": "3.5.21",
6464
"vue-class-component": "8.0.0-rc.1",
6565
"vue-router": "4.5.1",
66-
"vue-tsc": "3.0.8",
66+
"vue-tsc": "3.1.1",
6767
"vuex": "4.1.0"
6868
},
6969
"peerDependencies": {

pnpm-lock.yaml

Lines changed: 13 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tsconfig.volar.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"extends": "./tsconfig.json",
3+
"exclude": [
4+
// class components are not supported by vue-tsc v3.1+
5+
"tests/components/ClassComponent.vue",
6+
"tests/features/classComponent.spec.ts"
7+
],
38
"compilerOptions": {
49
"lib": ["DOM", "ES2020"],
510
"skipLibCheck": true

0 commit comments

Comments
 (0)