mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-27 03:58:02 -05:00
3861d4beb4
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
|
|
}
|
|
}
|