tsconfig: exactOptionalPropertyTypes
This is a recommended setting, see: https://www.typescriptlang.org/tsconfig/#exactOptionalPropertyTypes
This commit is contained in:
parent
0d4bb26e0f
commit
696cc4f4bf
1 changed files with 5 additions and 1 deletions
|
|
@ -9,7 +9,11 @@
|
|||
"sourceMap": true,
|
||||
"allowJs": true,
|
||||
"moduleResolution": "node",
|
||||
"types": ["vitest/globals", "@testing-library/jest-dom"],
|
||||
"types": [
|
||||
"vitest/globals",
|
||||
"@testing-library/jest-dom"
|
||||
],
|
||||
"exactOptionalPropertyTypes": true,
|
||||
"strictNullChecks": true,
|
||||
"allowSyntheticDefaultImports": true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue