-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Open
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: Quick FixesEditor-provided fixes, often called code actions.Editor-provided fixes, often called code actions.VS Code TrackedThere is a VS Code equivalent to this issueThere is a VS Code equivalent to this issue
Milestone
Description
type Foo = [string, number];
interface Bar {
test(a: Foo): void;
}
class Baz implements Bar{
}
Using fill in Baz implementation quick fix:
type Foo = [string, number];
interface Bar {
test(a: Foo): void;
}
class Baz implements Bar {
test(a: [string, number]): void {
throw new Error("Method not implemented.");
}
}
I expect:
class Baz implements Bar {
test(a: Foo): void {
throw new Error("Method not implemented.");
}
}
/cc @mjbvz
mattmccutchen, AnyhowStep and paulantoine2
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.VS Code TrackedThere is a VS Code equivalent to this issueThere is a VS Code equivalent to this issue