TypeDescriptor
Class in @typemove/move
Defined in @typemove/move
Type Parameters
| Type Parameter | Default type |
|---|---|
T | any |
Constructors
Constructor
new TypeDescriptor<T = any>(symbol: string, typeParams?: TypeDescriptor<any>[]): TypeDescriptor<T>;Parameters
| Parameter | Type |
|---|---|
symbol | string |
typeParams? | TypeDescriptor<any>[] |
Returns
TypeDescriptor<T>
Properties
Methods
apply()
apply(...typeArgs: TypeDescriptor<any>[]): TypeDescriptor;Parameters
| Parameter | Type |
|---|---|
...typeArgs | TypeDescriptor<any>[] |
Returns
TypeDescriptor
applyTypeArgs()
applyTypeArgs(ctx: Map<string, TypeDescriptor<any>>): TypeDescriptor;Parameters
| Parameter | Type |
|---|---|
ctx | Map<string, TypeDescriptor<any>> |
Returns
TypeDescriptor
clone()
clone(): this;Returns
this
compareQname()
compareQname(t: TypeDescriptor): boolean;Parameters
| Parameter | Type |
|---|---|
t | TypeDescriptor |
Returns
boolean
dependedTypes()
dependedTypes(): string[];Returns
string[]
existAnyType()
existAnyType(): boolean;Returns
boolean
getNormalizedSignature()
getNormalizedSignature(): string;Returns
string
getSignature()
getSignature(): string;Returns
string
isVector()
isVector(): boolean;Returns
boolean
module()
module(): string;Returns
string
name()
name(): string;Returns
string