mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-02-12 20:51:52 +00:00
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> |
||
---|---|---|
.. | ||
config | ||
migrations | ||
models | ||
ot | ||
web | ||
workers | ||
app.js | ||
csp.js | ||
errors.js | ||
history.js | ||
letter-avatars.js | ||
logger.js | ||
realtime.js | ||
response.js | ||
utils.js |