mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-23 10:16:32 -05:00
004e2fbcb2
TypeScript considers null and undefined as fine for all variable by default. This patch enables `strictNullChecks`, which should cause errors to be thrown as soon as a variable is null or undefined without having it explicitly decleared for itself.[1] [1]: https://www.typescriptlang.org/docs/handbook/migrating-from-javascript.html#strict-null--undefined-checks Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
13 lines
219 B
JSON
13 lines
219 B
JSON
{
|
|
"compilerOptions": {
|
|
"outDir": "./built",
|
|
"allowJs": true,
|
|
"strictNullChecks": true,
|
|
"target": "es5",
|
|
"module": "commonjs",
|
|
"esModuleInterop": true
|
|
},
|
|
"include": [
|
|
"./lib/**/*"
|
|
]
|
|
}
|