Skip to content

Conversation

@weswigham
Copy link
Member

Fixes #16155. In the example from the issue, this causes the type to be written without the alias. You can force the type to be written with an alias by making the module symbol or the type symbol visible within the file, as is typical for our current declaration emit.

@weswigham weswigham requested review from a user, mhegazy, rbuckton and sandersn and removed request for sandersn August 25, 2017 20:49
@ghost ghost mentioned this pull request Aug 25, 2017
@@ -0,0 +1,63 @@
// @declaration: true
Copy link

Choose a reason for hiding this comment

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

Use a minimal test that reproduces the error -- looking at this test I would have no idea what it's trying to test..

Copy link
Contributor

Choose a reason for hiding this comment

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

We should always strive for the smallest reproducible steps for a failure.

Copy link
Member Author

Choose a reason for hiding this comment

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

It is now minimal

@weswigham weswigham force-pushed the no-umd-globals-in-module-declarations branch from b10dfac to e0ae4b4 Compare September 5, 2017 20:36
@weswigham weswigham merged commit c3e0906 into microsoft:master Sep 7, 2017
@weswigham weswigham deleted the no-umd-globals-in-module-declarations branch December 20, 2017 22:40
@microsoft microsoft locked and limited conversation to collaborators Jun 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants