Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Inline getDestructuringParameterName#16973

Merged
2 commits merged into
mastermicrosoft/TypeScript:masterfrom
getDestructuringParameterNamemicrosoft/TypeScript:getDestructuringParameterNameCopy head branch name to clipboard
Jul 7, 2017
Merged

Inline getDestructuringParameterName#16973
2 commits merged into
mastermicrosoft/TypeScript:masterfrom
getDestructuringParameterNamemicrosoft/TypeScript:getDestructuringParameterNameCopy head branch name to clipboard

Conversation

@ghost

@ghost ghost commented Jul 6, 2017

Copy link
Copy Markdown

This function contained a cast which was only valid due to node having a more specific type at its only use.
It was simpler to remove the cast and inline it.
Also added a type definition to an object literal that was missing one.

@ghost ghost requested a review from weswigham July 6, 2017 15:10

@weswigham weswigham left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems like a good change, pending CI.

@ghost ghost merged commit e6256d4 into master Jul 7, 2017
@ghost ghost deleted the getDestructuringParameterName branch July 7, 2017 17:34
@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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.