Skip to content

Only suggest @param codefixes in TS - #47959

Merged
Nathan Shively-Sanders (sandersn) merged 4 commits into
mainfrom
only-suggest-param-codefixes-in-ts
Feb 18, 2022
Merged

Only suggest @param codefixes in TS#47959
Nathan Shively-Sanders (sandersn) merged 4 commits into
mainfrom
only-suggest-param-codefixes-in-ts

Conversation

@sandersn

@sandersn Nathan Shively-Sanders (sandersn) commented Feb 18, 2022

Copy link
Copy Markdown
Member

Previously, there were 2 JS errors that were issued as suggestions in TS files. But there was no codefix for these errors, and the errors were incorrect in TS.

This PR only issues the JS-specific errors on JS files.

Fixes bug discovered by Daniel Rosenwasser (@DanielRosenwasser) and Titian Cernicova-Dragomir (@dragomirtitian)

Fixes #47949

Previously, there were 2 JS errors that were issued as suggestions in TS
files. But there was no codefix for these errors, and the errors were
incorrect in TS.

This PR only issues the JS-specific errors on JS files.
@sandersn

Copy link
Copy Markdown
Member Author

Oleksandr Tarasiuk (@a-tarasyuk) I can't add you as a reviewer, but you're probably interested in this.

@a-tarasyuk

Oleksandr Tarasiuk (a-tarasyuk) commented Feb 18, 2022

Copy link
Copy Markdown
Contributor

Fixes #47949. I thought all suggestions should work for TS/JS, so I’ve created PR that ignores errors on resolving type references. :(. Anyway, I’ve closed it in favor of your PR. Thanks.

@DanielRosenwasser

Copy link
Copy Markdown
Member

TypeScript Bot (@typescript-bot) cherry-pick this to release-4.6

@typescript-bot

TypeScript Bot (typescript-bot) commented Feb 18, 2022

Copy link
Copy Markdown
Contributor

Heya Daniel Rosenwasser (@DanielRosenwasser), I've started to run the task to cherry-pick this into release-4.6 on this PR at 72499ac. You can monitor the build here.

@typescript-bot

Copy link
Copy Markdown
Contributor

Hey Daniel Rosenwasser (@DanielRosenwasser), I've opened #47962 for you.

TypeScript Bot (typescript-bot) pushed a commit to typescript-bot/TypeScript that referenced this pull request Feb 18, 2022
Component commits:
465042e Only issue @PARAM suggestions with codefixes in TS
Previously, there were 2 JS errors that were issued as suggestions in TS
files. But there was no codefix for these errors, and the errors were
incorrect in TS.

This PR only issues the JS-specific errors on JS files.

4056b38 Minimise test

4fb10f1 Merge branch 'main' into only-suggest-param-codefixes-in-ts

72499ac Merge branch 'main' into only-suggest-param-codefixes-in-ts
@sandersn
Nathan Shively-Sanders (sandersn) deleted the only-suggest-param-codefixes-in-ts branch February 18, 2022 23:58
Daniel Rosenwasser (DanielRosenwasser) pushed a commit that referenced this pull request Feb 19, 2022
Component commits:
465042e Only issue @PARAM suggestions with codefixes in TS
Previously, there were 2 JS errors that were issued as suggestions in TS
files. But there was no codefix for these errors, and the errors were
incorrect in TS.

This PR only issues the JS-specific errors on JS files.

4056b38 Minimise test

4fb10f1 Merge branch 'main' into only-suggest-param-codefixes-in-ts

72499ac Merge branch 'main' into only-suggest-param-codefixes-in-ts

Co-authored-by: Nathan Shively-Sanders <nathansa@microsoft.com>
@microsoft Microsoft (microsoft) locked as resolved and limited conversation to collaborators Oct 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Unexpected error in param jsdoc tags for methods containing arguments - 4.6 RC regression

4 participants