Skip to content

Add outlining spans for 'type' declarations #38080

Closed
@mjbvz

Description

@mjbvz

From microsoft/vscode#95577

TypeScript Version: 3.9.0-dev.20200420

Search Terms:

  • fold / folding
  • outlining spans / getOutliningSpans
  • type

Code
For the TS:

interface A {
    x: number
}

type B = {
    y: number
}

Expected behavior:

Both A and B are foldable

Actual behavior:

Only the interface (A) is foldable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions