mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-24 02:36:31 -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> |
||
---|---|---|
.. | ||
auth | ||
imageRouter | ||
middleware | ||
note | ||
baseRouter.js | ||
historyRouter.js | ||
statusRouter.js | ||
userRouter.js | ||
utils.js |