Skip to content

Conversation

@a-tarasyuk
Copy link
Contributor

Fixes #46589

@typescript-bot typescript-bot added the For Milestone Bug PRs that fix a bug with a specific milestone label Oct 29, 2021
@a-tarasyuk a-tarasyuk marked this pull request as draft October 29, 2021 21:32
@a-tarasyuk a-tarasyuk force-pushed the fix/46589 branch 2 times, most recently from 6bb521f to b1f2db7 Compare October 29, 2021 21:45
@a-tarasyuk a-tarasyuk marked this pull request as ready for review October 29, 2021 21:46
Copy link
Member

@andrewbranch andrewbranch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🌟 Thanks!

@andrewbranch andrewbranch requested a review from gabritto October 29, 2021 21:50
Copy link
Member

@gabritto gabritto left a 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.

Copy link
Member

@gabritto gabritto left a 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 :)

Copy link
Member

@gabritto gabritto left a 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! ✨

@andrewbranch
Copy link
Member

@typescript-bot cherry-pick this to release-4.5

@typescript-bot
Copy link
Collaborator

typescript-bot commented Nov 3, 2021

Heya @andrewbranch, I've started to run the task to cherry-pick this into release-4.5 on this PR at cd33fc8. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

Hey @andrewbranch, I've opened #46667 for you.

typescript-bot pushed a commit to typescript-bot/TypeScript that referenced this pull request Nov 3, 2021
Component commits:
cd33fc8 fix(46589): omit ? in method signature completion for optional methods
@andrewbranch andrewbranch merged commit 7264cf7 into microsoft:main Nov 3, 2021
DanielRosenwasser pushed a commit that referenced this pull request Nov 3, 2021
Component commits:
cd33fc8 fix(46589): omit ? in method signature completion for optional methods

Co-authored-by: Oleksandr T <oleksandr.tarasiuk@outlook.com>
mprobst pushed a commit to mprobst/TypeScript that referenced this pull request Jan 10, 2022
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

For Milestone Bug PRs that fix a bug with a specific milestone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extra ? added to method in method signature completion for optional method

4 participants