Issue Task Closed

#106216Enable most TypeScript strict-mode options

Benjamin Franzke 02/20/25, 07:24 updated 08/12/25, 14:35

Description

We can not yet enable strictNullChecks [1] (>2000 errors),
but three other sub-options of the `strict` [1] flag can
now be enabled, where only a minimum amount of changes
are needed:

  • `strictBindCallApply` (2 changes)
  • `useUnknownInCatchVariables` option (3 changes)
  • `strictBuiltinIteratorReturn` (0 changes)

[1] https://www.typescriptlang.org/tsconfig/#strictNullChecks
2 https://www.typescriptlang.org/tsconfig/#strict

Reviews 2