Skip to content

Conversation

@Zzzen
Copy link
Contributor

@Zzzen Zzzen commented Dec 16, 2020

Fixes #39931

Previously, this is assumed to be a reference to class. Now we can detect whether this is referring to a class or function. in the latter case, we need to pass this to the new function.

@typescript-bot typescript-bot added the For Backlog Bug PRs that fix a backlog bug label Dec 16, 2020
Copy link
Member

@sandersn sandersn left a comment

Choose a reason for hiding this comment

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

Quick suggestion about naming enum member

@sandersn sandersn requested a review from jakebailey February 24, 2022 21:47
@sandersn sandersn assigned jakebailey and unassigned jessetrinity Feb 24, 2022
@sandersn
Copy link
Member

Do you want to keep working on this? Otherwise I'd like to close it to reduce the number of open PRs.

@Zzzen
Copy link
Contributor Author

Zzzen commented Apr 4, 2022

Yes, I will keep working on this.

@Zzzen Zzzen force-pushed the extract-symbol-this branch from 0b0a5bf to 5502a24 Compare April 4, 2022 13:14
Copy link
Member

@jakebailey jakebailey left a comment

Choose a reason for hiding this comment

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

This seems fine to me, no pun intended.

@sandersn sandersn merged commit f4b99ea into microsoft:main Apr 7, 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 Backlog Bug PRs that fix a backlog bug

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

this is not preserved when extracted to function in module scope

5 participants