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

Destructured interface members lack inherited JSDoc comments

Open Bertie690 opened this issue 3 weeks ago • 0 comments

Extension Version

0.20251203.1

VS Code Version

1.106.3

Operating system Version

Ubuntu x86-64, running via Windows 11 inside WSL

Steps to reproduce

  1. Copy this MRE:
    interface FooBar {
        /** foo comment */
        foo: number;
        /** bar comment */
        bar: string;
        /** baz comment */
        baz: string;
    }
    
    declare const fubar: FooBar;
    
    const {foo, bar, baz} = fubar;
    
  2. hover over properties
  3. no comments
Image

Issue

Should have hovers, as is present in normal typescript

Bertie690 avatar Dec 03 '25 17:12 Bertie690