Skip to content
Discussion options

You must be logged in to vote

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. :)

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@pedroyan
Comment options

Answer selected by pedroyan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3139 on July 05, 2022 20:50.