Liking cljdoc? Tell your friends :D

dots.typescript.type-reference

Type references (ObjectFlags.Reference). When a class or interface has type parameters or a "this" type, references to the class or interface are made using type references. The typeArguments property specifies the types to substitute for the type parameters of the class or interface and optionally includes an extra element that specifies the type to substitute for "this" in the resulting instantiation. When no extra argument is present, the type reference itself is substituted for "this". The typeArguments property is undefined if the class or interface has no type parameters and the reference isn't specifying an explicit "this" argument.

Type references (ObjectFlags.Reference). When a class or interface has type parameters or
a "this" type, references to the class or interface are made using type references. The
typeArguments property specifies the types to substitute for the type parameters of the
class or interface and optionally includes an extra element that specifies the type to
substitute for "this" in the resulting instantiation. When no extra argument is present,
the type reference itself is substituted for "this". The typeArguments property is undefined
if the class or interface has no type parameters and the reference isn't specifying an
explicit "this" argument.
raw docstring

alias-symbolcljs

(alias-symbol type-reference)

Returns: Symbol | undefined

**Returns:** `Symbol | undefined`
sourceraw docstring

alias-type-argumentscljs

(alias-type-arguments type-reference)

Returns: readonly Type[] | undefined

**Returns:** `readonly Type[] | undefined`
sourceraw docstring

apparent-propertiescljs

(apparent-properties type-reference)

Returns: Symbol[]

**Returns:** `Symbol[]`
sourceraw docstring

base-typescljs

(base-types type-reference)

Returns: BaseType[] | undefined

**Returns:** `BaseType[] | undefined`
sourceraw docstring

call-signaturescljs

(call-signatures type-reference)

Returns: readonly Signature[]

**Returns:** `readonly Signature[]`
sourceraw docstring

class-or-interface?cljs

(class-or-interface? type-reference)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

class?cljs

(class? type-reference)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

constraintcljs

(constraint type-reference)

Returns: Type | undefined

**Returns:** `Type | undefined`
sourceraw docstring

construct-signaturescljs

(construct-signatures type-reference)

Returns: readonly Signature[]

**Returns:** `readonly Signature[]`
sourceraw docstring

defaultcljs

(default type-reference)

Returns: Type | undefined

**Returns:** `Type | undefined`
sourceraw docstring

flagscljs

(flags type-reference)

Returns: TypeFlags

**Returns:** `TypeFlags`
sourceraw docstring

get-flagscljs

(get-flags type-reference)

Returns: TypeFlags

**Returns:** `TypeFlags`
sourceraw docstring

get-symbolcljs

(get-symbol type-reference)

Returns: Symbol | undefined

**Returns:** `Symbol | undefined`
sourceraw docstring

index-type?cljs

(index-type? type-reference)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

intersection?cljs

(intersection? type-reference)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

literal?cljs

(literal? type-reference)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

nodecljs

(node type-reference)

Returns: TypeReferenceNode | ArrayTypeNode | TupleTypeNode | undefined

**Returns:** `TypeReferenceNode | ArrayTypeNode | TupleTypeNode | undefined`
sourceraw docstring

non-nullable-typecljs

(non-nullable-type type-reference)

Returns: Type

**Returns:** `Type`
sourceraw docstring

number-index-typecljs

(number-index-type type-reference)

Returns: Type | undefined

**Returns:** `Type | undefined`
sourceraw docstring

number-literal?cljs

(number-literal? type-reference)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

object-flagscljs

(object-flags type-reference)

Returns: ObjectFlags

**Returns:** `ObjectFlags`
sourceraw docstring

patterncljs

(pattern type-reference)

Returns: DestructuringPattern | undefined

**Returns:** `DestructuringPattern | undefined`
sourceraw docstring

propertiescljs

(properties type-reference)

Returns: Symbol[]

**Returns:** `Symbol[]`
sourceraw docstring

propertycljs

(property type-reference property-name)

Parameters:

  • property-name: string

Returns: Symbol | undefined

**Parameters:**
- `property-name`: `string`

**Returns:** `Symbol | undefined`
sourceraw docstring

set-alias-symbol!cljs

(set-alias-symbol! type-reference value)
source

set-alias-type-arguments!cljs

(set-alias-type-arguments! type-reference value)
source

set-flags!cljs

(set-flags! type-reference value)
source

set-node!cljs

(set-node! type-reference value)
source

set-object-flags!cljs

(set-object-flags! type-reference value)
source

set-pattern!cljs

(set-pattern! type-reference value)
source

set-symbol!cljs

(set-symbol! type-reference value)
source

set-target!cljs

(set-target! type-reference value)
source

set-type-arguments!cljs

(set-type-arguments! type-reference value)
source

string-index-typecljs

(string-index-type type-reference)

Returns: Type | undefined

**Returns:** `Type | undefined`
sourceraw docstring

string-literal?cljs

(string-literal? type-reference)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

symbolcljs

(symbol type-reference)

Returns: Symbol

**Returns:** `Symbol`
sourceraw docstring

targetcljs

(target type-reference)

Returns: GenericType

**Returns:** `GenericType`
sourceraw docstring

type-argumentscljs

(type-arguments type-reference)

Returns: readonly Type[] | undefined

**Returns:** `readonly Type[] | undefined`
sourceraw docstring

type-parameter?cljs

(type-parameter? type-reference)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

union-or-intersection?cljs

(union-or-intersection? type-reference)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

union?cljs

(union? type-reference)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close