The span of the document to actually collapse.

Properties

P autoCollapse: boolean

Whether or not this region should be automatically collapsed when the 'Collapse to Definitions' command is invoked.

Type:
  • boolean

P bannerText: string

The text to display in the editor for the collapsed region.

Type:
  • string

P hintSpan: ts.TextSpan

The span of the document to display when the user hovers over the collapsed span.

Type:

P textSpan: ts.TextSpan

The span of the document to actually collapse.

Type: