Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert annotateWithTypeFromJSDoc refactor to a codefix #22336

Merged
2 commits merged into from
Mar 6, 2018

Conversation

ghost
Copy link

@ghost ghost commented Mar 5, 2018

Part of #19392
(refactor was added in #18747)

@ghost ghost requested review from sandersn and amcasey March 5, 2018 19:32
@ghost ghost force-pushed the annotateWithTypeFromJSDoc_codefix branch from bfe21be to eb9105a Compare March 5, 2018 21:38
}
break;
}

if (!isInJavaScriptFile(node) && codefix.parameterShouldGetTypeFromJSDoc(node)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

consider storing this in a flag at the top

@ghost ghost merged commit e5f91f5 into master Mar 6, 2018
@ghost ghost deleted the annotateWithTypeFromJSDoc_codefix branch March 6, 2018 15:49
@microsoft microsoft locked and limited conversation to collaborators Jul 25, 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.

1 participant