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

TypeAliasDeclarations both normalized and emitted #1001

Closed
sparecycles opened this issue Oct 30, 2014 · 2 comments
Closed

TypeAliasDeclarations both normalized and emitted #1001

sparecycles opened this issue Oct 30, 2014 · 2 comments
Labels
Duplicate An existing issue was already created

Comments

@sparecycles
Copy link
Contributor

this in in regards to the TypeAliasDeclaration now in master.

    export type EntityName = Identifier | QualifiedName;

I noticed that the type alias is expanded in the rest of the declaration file produced. I'm unclear if this is a problem because I can't find this syntax in typescript/master/doc/spec.md.

@ahejlsberg
Copy link
Member

Already tracking this issue in #984. It doesn't actually affect the meaning of the code, a type alias is exactly equivalent to the type it aliases.

@ahejlsberg ahejlsberg added the Duplicate An existing issue was already created label Oct 30, 2014
@ahejlsberg
Copy link
Member

Documentation for type aliases is in #998. Should be in master soon.

@microsoft microsoft locked and limited conversation to collaborators Jun 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

2 participants