-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: Quick FixesEditor-provided fixes, often called code actions.Editor-provided fixes, often called code actions.Effort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Fix AvailableA PR has been opened for this issueA PR has been opened for this issueHelp WantedYou can do thisYou can do this
Milestone
Description
TypeScript Version: 4.1.0-dev.20200826
Search Terms: remove parameter fix
Code
export type CCResponsePredicate<
TSent extends CommandClass = CommandClass,
TReceived extends CommandClass = CommandClass
> = (sentCommand: CommandClass, receivedCommand: CommandClass) => CCResponseRole;
- Cursor after
CCResponsePredicate<
- Trigger "remove all type parameters" quick fix
Expected behavior:
export type CCResponsePredicate = (sentCommand: CommandClass, receivedCommand: CommandClass) => CCResponseRole;
Actual behavior:
export type CCResponsePredicate> = (sentCommand: CommandClass, receivedCommand: CommandClass) => CCResponseRole;
Playground Link: The playground doesn't offer this quick fix
Related Issues: none found
a-tarasyuk
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: Quick FixesEditor-provided fixes, often called code actions.Editor-provided fixes, often called code actions.Effort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Fix AvailableA PR has been opened for this issueA PR has been opened for this issueHelp WantedYou can do thisYou can do this