Skip to content

Commit b22acb3

Browse files
committed
docs: explain the options in tsconfig.lib.json
1 parent 1334411 commit b22acb3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tsconfig.lib.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
{
22
"compilerOptions": {
3+
// Emit declaration files for the library.
34
"noEmit": false,
45
"declaration": true,
56
"emitDeclarationOnly": true,
7+
8+
// Libraries generally require more strict type accuracy.
9+
// For example, its types must be compatible with the Vue types.
10+
// So we don't want to skip the type checking of its dependencies.
611
"skipLibCheck": false
712
}
813
}

0 commit comments

Comments
 (0)