@servicenow/sdk - v4.4.1
    Preparing search index...

    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.

    interface TypeReference {
        aliasSymbol?: tsc.Symbol;
        aliasTypeArguments?: readonly tsc.Type[];
        flags: tsc.TypeFlags;
        node?: tsc.ArrayTypeNode | tsc.TupleTypeNode | tsc.TypeReferenceNode;
        objectFlags: tsc.ObjectFlags;
        pattern?: DestructuringPattern;
        symbol: tsc.Symbol;
        target: GenericType;
        typeArguments?: readonly tsc.Type[];
        getApparentProperties(): tsc.Symbol[];
        getBaseTypes(): BaseType[] | undefined;
        getCallSignatures(): readonly tsc.Signature[];
        getConstraint(): tsc.Type | undefined;
        getConstructSignatures(): readonly tsc.Signature[];
        getDefault(): tsc.Type | undefined;
        getFlags(): tsc.TypeFlags;
        getNonNullableType(): tsc.Type;
        getNumberIndexType(): tsc.Type | undefined;
        getProperties(): tsc.Symbol[];
        getProperty(propertyName: string): tsc.Symbol | undefined;
        getStringIndexType(): tsc.Type | undefined;
        getSymbol(): tsc.Symbol | undefined;
        isClass(): this is InterfaceType;
        isClassOrInterface(): this is InterfaceType;
        isIndexType(): this is IndexType;
        isIntersection(): this is IntersectionType;
        isLiteral(): this is LiteralType;
        isNumberLiteral(): this is NumberLiteralType;
        isStringLiteral(): this is StringLiteralType;
        isTypeParameter(): this is tsc.TypeParameter;
        isUnion(): this is UnionType;
        isUnionOrIntersection(): this is UnionOrIntersectionType;
    }

    Hierarchy (View Summary)

    Index

    Properties

    aliasSymbol?: tsc.Symbol
    aliasTypeArguments?: readonly tsc.Type[]
    flags: tsc.TypeFlags
    objectFlags: tsc.ObjectFlags
    symbol: tsc.Symbol
    target: GenericType
    typeArguments?: readonly tsc.Type[]

    Methods

    • Returns BaseType[] | undefined

    • Returns tsc.Type | undefined

    • Returns tsc.Type | undefined

    • Returns tsc.Type | undefined

    • Parameters

      • propertyName: string

      Returns tsc.Symbol | undefined

    • Returns tsc.Type | undefined

    • Returns tsc.Symbol | undefined

    • Returns this is IndexType

    • Returns this is UnionType