Skip to content

Port 10404 : optimize emit default constructor for subclass#10598

Merged
yuit merged 2 commits into
transformsfrom
port10404totransforms
Sep 1, 2016
Merged

Port 10404 : optimize emit default constructor for subclass#10598
yuit merged 2 commits into
transformsfrom
port10404totransforms

Conversation

@yuit
Copy link
Copy Markdown
Contributor

@yuit yuit commented Aug 29, 2016

Fix #10348

@yuit yuit added the Domain: API: Transforms Relates to the public transform API label Aug 29, 2016
Comment thread src/compiler/transformers/ts.ts Outdated
return constructor
? visitNodes(constructor.parameters, visitor, isParameter)
: hasExtendsClause ? [createRestParameter("args")] : [];
: [] as NodeArray<ParameterDeclaration>;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just ParameterDeclaration[]

@rbuckton
Copy link
Copy Markdown
Contributor

👍

@yuit yuit merged commit d7a20f5 into transforms Sep 1, 2016
@yuit yuit deleted the port10404totransforms branch September 1, 2016 22:34
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Domain: API: Transforms Relates to the public transform API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants