TypeScript: use strict mode
This commit is contained in:
parent
5b9266f703
commit
c685f2dfb8
1 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,10 @@
|
||||||
{
|
{
|
||||||
"extends": "@tsconfig/svelte/tsconfig.json",
|
"extends": "@tsconfig/svelte/tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
// "target": "ES2019"
|
||||||
|
"strict": true
|
||||||
|
},
|
||||||
|
|
||||||
"include": ["src/**/*"],
|
"include": ["src/**/*"],
|
||||||
"exclude": ["node_modules/*", "__sapper__/*", "public/*"],
|
"exclude": ["node_modules/*", "__sapper__/*", "public/*"],
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue