Skip to content

Destructured interface members lack inherited JSDoc commentsΒ #2194

@Bertie690

Description

@Bertie690

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

Metadata

Metadata

Assignees

Labels

Domain: EditorRelated to the LSP server, editor experience

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions