tuil
ReferencePackages@mwillbanks/tuil-contentAPI

TreeRow

interface exported by @mwillbanks/tuil-content.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-content.

export interface TreeRow {
  readonly path: string;
  readonly depth: number;
  readonly key: string;
  readonly type: string;
  readonly value?: unknown;
  readonly expandable: boolean;
  readonly expanded: boolean;
}

Members

MemberTypeRequiredDescriptionRelated types
pathstringYesThe path member uses the string contract.
depthnumberYesThe depth member uses the number contract.
keystringYesThe key member uses the string contract.
typestringYesThe type member uses the string contract.
valueunknownNoThe value member uses the unknown contract.
expandablebooleanYesThe expandable member uses the boolean contract.
expandedbooleanYesThe expanded member uses the boolean contract.

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

No package-local related types.

Source

View the secondary source reference

Package

@mwillbanks/tuil-content

On this page