-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathtsconfig.lib.json
More file actions
21 lines (19 loc) · 918 Bytes
/
tsconfig.lib.json
File metadata and controls
21 lines (19 loc) · 918 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"compilerOptions": {
// Emit declaration files for the library.
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
// Libraries generally require more strict type accuracy.
// For example, its types must be compatible with the Vue types.
// So we don't want to skip the type checking of its dependencies.
"skipLibCheck": false,
// See <https://www.semver-ts.org/formal-spec/5-compiler-considerations.html#strictness>
// Part of the recommended tsconfig as of TS 5.9.
// Flags starting with `no` are likely to have false positives,
// So they are not suitable for existing codebases, but are recommended for new codebases,
// as well as libraries that need to be more strict about their types.
// See also <https://github.com/vuejs/tsconfig/issues/38#issuecomment-3524621112> for more discussion.
"noUncheckedIndexedAccess": true,
}
}