Description
Bug Report
🔎 Search Terms
- Method signature completions
- suggest / suggestions
- completions
🕗 Version & Regression Information
4.5.0-dev.20211029
💻 Code
For the code:
interface IFoo {
bar(x: number): void;
}
const obj: IFoo = {
|
}
Trigger suggestions inside the object literal
🙁 Actual behavior
We get a suggestion for bar
but accepting it only completes bar
🙂 Expected behavior
Accepting the completion for bar
should also insert the method signature:
interface IFoo {
bar(x: number): void;
}
const obj: IFoo = {
bar(x: number): void {
}
}