Skip to content

Mark all parameters as needed for metadata when one is decorated#19849

Merged
weswigham merged 2 commits into
microsoft:masterfrom
weswigham:param-uses-contidered
Nov 9, 2017
Merged

Mark all parameters as needed for metadata when one is decorated#19849
weswigham merged 2 commits into
microsoft:masterfrom
weswigham:param-uses-contidered

Conversation

@weswigham
Copy link
Copy Markdown
Member

Fixes #19799

@weswigham weswigham requested review from mhegazy and rbuckton November 8, 2017 21:53
function foo(...args: any[]) {}

class Bar {
yoha(@foo yoha, bar: Yoha) {}
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.

can you also add a test where the type is used in a rest param position.

@weswigham weswigham merged commit a1014b2 into microsoft:master Nov 9, 2017
@weswigham weswigham deleted the param-uses-contidered branch November 9, 2017 08:26
@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.

2 participants