typescript-go icon indicating copy to clipboard operation
typescript-go copied to clipboard

Add snippet completions for methods

Open mjbvz opened this issue 2 weeks ago • 0 comments

From https://github.com/microsoft/TypeScript/issues/47044

For the code:

class Base {
  foo() { }
}

class Sub extends Base {
  
}

In TS 6.0 triggering suggestions in Sub and selecting foo would fill in:

  foo(): void {
    
  }

In Ts-go, we instead just fill in foo

mjbvz avatar Dec 08 '25 21:12 mjbvz