Skip to content

Transform initializers for private named instance fields #8

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

Conversation

joeywatts
Copy link
Owner

No description provided.

@@ -346,14 +346,15 @@ namespace ts {
}

function transformClassMembers(node: ClassDeclaration | ClassExpression, isDerivedClass: boolean) {
// Declare private names.
const privateProperties = filter(node.members, isPrivatePropertyDeclaration);
Copy link

Choose a reason for hiding this comment

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

since private-named-fields aren't properties, what about privateNamedField?

@joeywatts joeywatts force-pushed the esnext-private-fields-weakmaps branch from e3ff684 to b362de1 Compare October 23, 2018 18:37
@joeywatts joeywatts force-pushed the esnext-private-fields-initializers branch 2 times, most recently from c1fdf9a to 0c65c27 Compare October 25, 2018 15:52
@joeywatts joeywatts force-pushed the esnext-private-fields-weakmaps branch from 688d51c to 6baf417 Compare October 25, 2018 17:45
Joseph Watts added 2 commits October 25, 2018 13:46
Signed-off-by: Joseph Watts <jwatts43@bloomberg.net>
Signed-off-by: Joseph Watts <jwatts43@bloomberg.net>
@joeywatts joeywatts force-pushed the esnext-private-fields-initializers branch from 0c65c27 to cdfb649 Compare October 25, 2018 17:46
@joeywatts
Copy link
Owner Author

closed (refer to bloomberg#15)

@joeywatts joeywatts closed this Nov 21, 2018
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