Skip to content

feat: Add class private field helper methods #79

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

Closed
wants to merge 2 commits into from

Conversation

ExE-Boss
Copy link
Contributor

@ExE-Boss ExE-Boss commented Oct 9, 2019

Companion PR to TypeScript#30829.

@mheiber
Copy link

mheiber commented Dec 23, 2019

@ExE-Boss thanks for looking into this.

@Neuroboy23 opened #77 earlier to use the same helpers as in microsoft/TypeScript#30829

I see that the helpers in this PR (#79) are different from the ones in microsoft/TypeScript#30829. My understanding is that ideally the helpers would match, so TS users don't get different behavior dependong on whether or not they are using tslib.

Am I understanding correctly? I haven't contributed to tslib before, so don't know what's normal.

@ExE-Boss ExE-Boss closed this Jan 2, 2020
@ExE-Boss
Copy link
Contributor Author

ExE-Boss commented Jan 2, 2020

I created this with the expectation that microsoft/TypeScript#30829 would be changed to use property descriptors like what Babel does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants