-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Assignment operator is definite assignment #39087
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assignment operator is definite assignment #39087
Conversation
@aminpaks Fix available here. |
@typescript-bot pack this. |
Ci is broken, but not my fault. |
… assignment_operator_assignment_kind
@typescript-bot pack this |
What exactly is the difference? Does a definite assignment widen to the base primitive type? |
Basically yes. |
Hey @orta, I've packed this into an installable tgz. You can install it for testing by referencing it in your
and then running There is also a playground for this build. |
Confirmed the fix in the playground, looks good to me 👍 |
Fixes #39088