-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I can work on this issue btw. But wanted to check with the maintainers first if this decision to not include the null return type was intentional and try to understand the rationale there if so |
Beta Was this translation helpful? Give feedback.
-
In v5, there is no strict null checking, so null is implied in all parameters. This has been changed in v6, but will not be changed in v5. It is very not backwards compatible and would break a lot of projects. At the time v5 was released, strictNullCheck was not as common an option and was not feasible to change in the tsconfig. That’s basically all there is to it. :) |
Beta Was this translation helpful? Give feedback.
In v5, there is no strict null checking, so null is implied in all parameters. This has been changed in v6, but will not be changed in v5. It is very not backwards compatible and would break a lot of projects.
At the time v5 was released, strictNullCheck was not as common an option and was not feasible to change in the tsconfig.
That’s basically all there is to it. :)