Skip to content

Conversation

@weswigham
Copy link
Member

Fixes #17231

Applies work done in #6091 for call signatures to construct signatures.

Copy link
Member

@ahejlsberg ahejlsberg left a comment

Choose a reason for hiding this comment

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

Approved with the requested changes.

if (!constructSignatures.length) {
constructSignatures = getDefaultConstructSignatures(classType);
}
(<ResolvedType>type).constructSignatures = constructSignatures || emptyArray;
Copy link
Member

Choose a reason for hiding this comment

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

No need for the || emptyArray.

@weswigham
Copy link
Member Author

weswigham commented Aug 18, 2017

Travis builds are broken pending this PR since we updated our version string.

@weswigham weswigham merged commit a136f55 into master Aug 19, 2017
@weswigham weswigham deleted the max-stack-get-symbol branch August 19, 2017 00:21
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 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