Skip to content

garph / Type

Class: Type<T, X>

Type parameters

NameType
TT
Xextends GarphType

Constructors

constructor

new Type<T, X>()

Type parameters

NameType
TT
Xextends GarphType

Properties

_args

Optional _args: Args

Defined in

index.ts:13


_inner

Optional _inner: any

Defined in

index.ts:11


_is

_is: X

Defined in

index.ts:10


_name

Optional _name: string

Defined in

index.ts:9


_output

Optional _output: any

Defined in

index.ts:12


_shape

_shape: T

Defined in

index.ts:14


typeDef

typeDef: TypeDefinition<T>

Defined in

index.ts:15

Methods

deprecated

deprecated(reason): Type<T, X>

Parameters

NameType
reasonstring

Returns

Type<T, X>

Defined in

index.ts:22


description

description(text): Type<T, X>

Parameters

NameType
textstring

Returns

Type<T, X>

Defined in

index.ts:17