Logo Xantham

TsTypeParameter Type

Represents a generic type parameter with optional constraint and default.

Reflects: `TypeParameterDeclaration` and `TypeParameter` (constraint `extends`, default value).

type Box<T extends object = {}> = { value: T }

Record fields

Record Field Description

Constraint

Full Usage: Constraint

Field type: TypeKey option
Field type: TypeKey option

Default

Full Usage: Default

Field type: TypeKey option
Field type: TypeKey option

Documentation

Full Usage: Documentation

Field type: TsComment list
Field type: TsComment list

Name

Full Usage: Name

Field type: string
Field type: string

Type something to start searching.