When migrating to TypeScript 6, Remco needed to configure a bunch of different TypeScript compiler options to disable new compiler errors in order get the code compiling.
It would be nice to enable these compiler errors (by removing the code explicitly disabling them) and address the root cause (for the most part adding more type checking or type information).
There's five such options:
- "useUnknownInCatchVariables"
- "strictNullChecks"
- "strictFunctionTypes"
- "noImplicitAny" (maybe, I know this one can be a lot of work from experience)
- "noImplicitThis"
I think we can implement each option across a different PR to make it easier to review.
When migrating to TypeScript 6, Remco needed to configure a bunch of different TypeScript compiler options to disable new compiler errors in order get the code compiling.
It would be nice to enable these compiler errors (by removing the code explicitly disabling them) and address the root cause (for the most part adding more type checking or type information).
There's five such options:
I think we can implement each option across a different PR to make it easier to review.