Class: Type
Constructors
constructor
• new Type(value
, parent?
)
Parameters
Name | Type | Default value | Description |
---|---|---|---|
value | unknown | undefined | |
parent | null | Type | null |
Defined in
Properties
childKeys
• Private
Readonly
childKeys: Map
<string
, Type
>
Defined in
childValues
• Private
Readonly
childValues: Map
<string
, Type
>
Defined in
is
• is: string
Defined in
parent
• Private
Readonly
parent: null
| Type
Defined in
value
• Readonly
value: unknown
Defined in
Accessors
childTypes
• Private
get
childTypes(): string
Returns
string
Defined in
Methods
addEntry
▸ Private
addEntry(entry
): void
Parameters
Name | Type | Description |
---|---|---|
entry | [string , unknown ] |
Returns
void
Defined in
addValue
▸ Private
addValue(value
): void
Parameters
Name | Type | Description |
---|---|---|
value | unknown |
Returns
void
Defined in
check
▸ Private
check(): void
Returns
void
Defined in
isCircular
▸ Private
isCircular(): boolean
Returns
boolean
Defined in
parents
▸ Private
parents(): IterableIterator
<Type
>
Returns
IterableIterator
<Type
>
Defined in
toString
▸ toString(): string
Returns
string
Defined in
list
▸ Static
Private
list(values
): string
Parameters
Name | Type | Description |
---|---|---|
values | Map <string , Type > |
Returns
string
Defined in
resolve
▸ Static
resolve(value
): string
Parameters
Name | Type | Description |
---|---|---|
value | any |
Returns
string