-
Notifications
You must be signed in to change notification settings - Fork 12.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
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>
- Loading branch information
Showing
2 changed files
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/// <reference path="fourslash.ts" /> | ||
// @Filename: a.ts | ||
//// /** | ||
//// * @param options - whatever | ||
//// * @param options.zone - equally bad | ||
//// */ | ||
//// declare function bad(options: any): void | ||
//// | ||
//// /** | ||
//// * @param {number} obtuse | ||
//// */ | ||
//// function worse(): void { | ||
//// arguments | ||
//// } | ||
|
||
goTo.file('a.ts') | ||
verify.getSuggestionDiagnostics([]); | ||
|