-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
fix(46589): Extra ? added to method in method signature completion for optional method #46594
Conversation
6bb521f
to
b1f2db7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🌟 Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't get rid of optional
altogether in the codefix helper function, I think that is why there are tests failing on CI. Left a comment with possible solutions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is closer to being what we want, just left a comment for one case left to consider. Thanks :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a comment for a typo, but I think other than that we're good to go now. Thanks! ✨
@typescript-bot cherry-pick this to release-4.5 |
Heya @andrewbranch, I've started to run the task to cherry-pick this into |
Hey @andrewbranch, I've opened #46667 for you. |
Component commits: cd33fc8 fix(46589): omit ? in method signature completion for optional methods
Component commits: cd33fc8 fix(46589): omit ? in method signature completion for optional methods Co-authored-by: Oleksandr T <oleksandr.tarasiuk@outlook.com>
Fixes #46589