Skip to content

Commit cee76cf

Browse files
committed
feat(lib)!: disable skipLibCheck in library tsconfig, closes #5
BREAKING CHANGE: This change requires libraries extending `tsconfig.lib.json` to be type-checked against their dependencies as well as the `.d.ts` files in their own projects. So it might introduce new type errors. It bumps the Vue.js version requirement to `^3.4.0`, as the Vue.js core can only be correctly type-checked in `--isolatedModules` mode after version 3.4 (following the removal of `const enum` usage). It might also increase the compilation time of the library projects.
1 parent ab39083 commit cee76cf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727
"peerDependencies": {
2828
"typescript": "5.x",
29-
"vue": "^3.3.0"
29+
"vue": "^3.4.0"
3030
},
3131
"peerDependenciesMeta": {
3232
"typescript": {

tsconfig.lib.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"compilerOptions": {
33
"noEmit": false,
44
"declaration": true,
5-
"emitDeclarationOnly": true
5+
"emitDeclarationOnly": true,
6+
"skipLibCheck": false
67
}
78
}

0 commit comments

Comments
 (0)