Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
"noImplicitThis": true,
"strict": true,

// See <https://www.semver-ts.org/formal-spec/5-compiler-considerations.html#strictness>
// These 2 options are also part of the recommended tsconfig as of TS 5.9
"noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true,

// <https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/#verbatimmodulesyntax>
// Any imports or exports without a type modifier are left around. This is important for `<script setup>`.
// Anything that uses the type modifier is dropped entirely.
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
// 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
"skipLibCheck": false,
}
}