mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-28 17:50:57 -05:00
Enable TypeScript strict mode
This enables strict mode, but sets strictPropertyInitialization to false, as "the class-validator DTO pattern described in the documentation is not compatible with strict property initialization" according to https://github.com/nestjs/typescript-starter/pull/192 Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
b2f0bfa0bf
commit
6604a6e499
1 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@
|
||||||
"./types",
|
"./types",
|
||||||
"./node_modules/@types"
|
"./node_modules/@types"
|
||||||
],
|
],
|
||||||
"strict": false
|
"strict": true,
|
||||||
|
"strictPropertyInitialization": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue