garph / Type
Class: Type<T, X>
Type parameters
Name | Type |
---|---|
T | T |
X | extends GarphType |
Constructors
constructor
• new Type<T
, X
>()
Type parameters
Name | Type |
---|---|
T | T |
X | extends GarphType |
Properties
_args
• Optional
_args: Args
Defined in
_inner
• Optional
_inner: any
Defined in
_is
• _is: X
Defined in
_name
• Optional
_name: string
Defined in
_output
• Optional
_output: any
Defined in
_shape
• _shape: T
Defined in
typeDef
• typeDef: TypeDefinition
<T
>
Defined in
Methods
deprecated
▸ deprecated(reason
): Type
<T
, X
>
Parameters
Name | Type |
---|---|
reason | string |
Returns
Type
<T
, X
>
Defined in
description
▸ description(text
): Type
<T
, X
>
Parameters
Name | Type |
---|---|
text | string |
Returns
Type
<T
, X
>