Skip to main content

Class: Type

Constructors

constructor

new Type(value, parent?)

Parameters

NameTypeDefault valueDescription
valueunknownundefined
parentnull | Typenull

Defined in

index.ts:49

Properties

childKeys

Private Readonly childKeys: Map<string, Type>

Defined in

index.ts:38


childValues

Private Readonly childValues: Map<string, Type>

Defined in

index.ts:43


is

is: string

Defined in

index.ts:28


parent

Private Readonly parent: null | Type

Defined in

index.ts:33


value

Readonly value: unknown

Defined in

index.ts:23

Accessors

childTypes

Private get childTypes(): string

Returns

string

Defined in

index.ts:58

Methods

addEntry

Private addEntry(entry): void

Parameters

NameTypeDescription
entry[string, unknown]

Returns

void

Defined in

index.ts:101


addValue

Private addValue(value): void

Parameters

NameTypeDescription
valueunknown

Returns

void

Defined in

index.ts:92


check

Private check(): void

Returns

void

Defined in

index.ts:110


isCircular

Private isCircular(): boolean

Returns

boolean

Defined in

index.ts:83


parents

Private parents(): IterableIterator<Type>

Returns

IterableIterator<Type>

Defined in

index.ts:74


toString

toString(): string

Returns

string

Defined in

index.ts:66


list

Static Private list(values): string

Parameters

NameTypeDescription
valuesMap<string, Type>

Returns

string

Defined in

index.ts:157


resolve

Static resolve(value): string

Parameters

NameTypeDescription
valueany

Returns

string

Defined in

index.ts:139