mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-28 14:33:54 +00:00
6604a6e499
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>
20 lines
472 B
JSON
20 lines
472 B
JSON
{
|
|
"extends": "@tsconfig/node12/tsconfig.json",
|
|
"compilerOptions": {
|
|
"declaration": true,
|
|
"removeComments": true,
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"sourceMap": true,
|
|
"outDir": "./dist",
|
|
"baseUrl": "./",
|
|
"incremental": true,
|
|
"typeRoots": [
|
|
"./types",
|
|
"./node_modules/@types"
|
|
],
|
|
"strict": true,
|
|
"strictPropertyInitialization": false
|
|
}
|
|
}
|