-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Refactor jsdoc types to typescript #18747
Merged
Merged
Commits on Sep 25, 2017
-
Refactor JSDoc types to Typescript types
When the caret is on a Typescript declaration that has no type, but does have a JSDoc annotation with a type, this refactor will add the Typescript equivalent of the JSDoc type. Notes: 1. This doesn't delete the JSDoc comment or delete parts of it. In fact, due to bugs in trivia handling, it sometimes duplicates the comment. These bugs are tracked in #18626. 2. As a bonus, when `noImplicitAny: true`, this shows up as a code fix in VS Code whenever there is a no-implicit-any error. With `noImplicityAny: false`, this code must be invoked via the refactoring command.
Configuration menu - View commit details
-
Copy full SHA for 6d218e2 - Browse repository at this point
Copy the full SHA 6d218e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8996d11 - Browse repository at this point
Copy the full SHA 8996d11View commit details
Commits on Sep 26, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 13b37a4 - Browse repository at this point
Copy the full SHA 13b37a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96b8093 - Browse repository at this point
Copy the full SHA 96b8093View commit details -
Transform jsdoc types in the refactor, not emitter
The emitter now understands JSDoc types but emits them in the original format.
Configuration menu - View commit details
-
Copy full SHA for fc933d7 - Browse repository at this point
Copy the full SHA fc933d7View commit details
Commits on Sep 28, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 724a813 - Browse repository at this point
Copy the full SHA 724a813View commit details -
Correctly transform jsdoc parameter types
And give a better name for rest params
Configuration menu - View commit details
-
Copy full SHA for d797b4a - Browse repository at this point
Copy the full SHA d797b4aView commit details
Commits on Oct 2, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 6831e65 - Browse repository at this point
Copy the full SHA 6831e65View commit details
Commits on Oct 11, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 4930cad - Browse repository at this point
Copy the full SHA 4930cadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a1c1f9 - Browse repository at this point
Copy the full SHA 1a1c1f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7424b0 - Browse repository at this point
Copy the full SHA d7424b0View commit details
Commits on Oct 12, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 260d37e - Browse repository at this point
Copy the full SHA 260d37eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 123347d - Browse repository at this point
Copy the full SHA 123347dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b440d75 - Browse repository at this point
Copy the full SHA b440d75View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2c18a8 - Browse repository at this point
Copy the full SHA c2c18a8View commit details -
Incorporate suppressLeadingAndTrailingTrivia just added by @amcasey.
Configuration menu - View commit details
-
Copy full SHA for f35764d - Browse repository at this point
Copy the full SHA f35764dView commit details
Commits on Oct 13, 2017
-
Configuration menu - View commit details
-
Copy full SHA for c83daa6 - Browse repository at this point
Copy the full SHA c83daa6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84e3507 - Browse repository at this point
Copy the full SHA 84e3507View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cf06bb - Browse repository at this point
Copy the full SHA 4cf06bbView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.