Skip to content

Commit 631326e

Browse files
committed
chore: check fixture types
1 parent e31f51d commit 631326e

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"build": "tsdown",
7272
"dev": "tsdown --watch",
7373
"test": "vitest",
74-
"typecheck": "tsc --noEmit",
74+
"typecheck": "tsc --noEmit && vue-tsc --noEmit -p tests/fixtures/tsconfig.json",
7575
"release": "bumpp && pnpm publish",
7676
"prepublishOnly": "pnpm run build"
7777
},

tests/fixtures/tsconfig.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"extends": "../../tsconfig.json",
3+
"include": ["**/*"],
4+
"exclude": [],
5+
"compilerOptions": {
6+
"isolatedDeclarations": false
7+
},
8+
"vueCompilerOptions": {
9+
"plugins": ["../../dist/volar.cjs"],
10+
"namedExport": {
11+
"removeDefault": false
12+
}
13+
}
14+
}

0 commit comments

Comments
 (0)