Skip to content
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

Bind module.export = {Thing} with alias symbols #41287

Merged

Conversation

weswigham
Copy link
Member

@weswigham weswigham commented Oct 27, 2020

Fixes #41250, the last half of it.

This was actually an incredibly small change, thanks to already anticipating aliases like this pretty much everywhere. DO note that in addition to shorthand property references, we could also probably bind { Name: EntityName } references as aliases safely, too, though this PR does not add that currently.

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.

Might be nice to run user tests before merging, since the assert moved a little. (Though it looks like it should happen in strictly fewer cases.)

@weswigham
Copy link
Member Author

@typescript-bot user test this

@typescript-bot
Copy link
Collaborator

typescript-bot commented Oct 27, 2020

Heya @weswigham, I've started to run the parallelized community code test suite on this PR at e96ce39. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

The user suite test run you requested has finished and failed. I've opened a PR with the baseline diff from master.

@andrewbranch
Copy link
Member

Huh, I bet this makes (at least parts of) #40835 obsolete

@weswigham weswigham merged commit ca8a15d into microsoft:master Oct 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generating typescript definitions from JSDOC marked javascript fails
4 participants