Skip to content

Simplify assignTypeToParameterAndFixTypeParameters#17706

Merged
1 commit merged into
masterfrom
assignTypeToParameter
Aug 10, 2017
Merged

Simplify assignTypeToParameterAndFixTypeParameters#17706
1 commit merged into
masterfrom
assignTypeToParameter

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Aug 9, 2017

No need for getNameOfDeclaration, we know we're looking at a ParameterDeclaration with a .name property. Also remove the isBindingPattern test from assignBindingElementTypes.

@ghost ghost force-pushed the assignTypeToParameter branch from 66265b8 to 4c838d1 Compare August 9, 2017 22:07
@ghost ghost merged commit 2c4361a into master Aug 10, 2017
@ghost ghost deleted the assignTypeToParameter branch August 10, 2017 13:51
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
This pull request was closed.
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.

2 participants