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

    Class and interface types (ObjectFlags.Class and ObjectFlags.Interface).

    interface TupleType {
        aliasSymbol?: tsc.Symbol;
        aliasTypeArguments?: readonly tsc.Type[];
        combinedFlags: ElementFlags;
        elementFlags: readonly ElementFlags[];
        fixedLength: number;
        flags: tsc.TypeFlags;
        hasRestElement: boolean;
        labeledElementDeclarations?: readonly (
            tsc.ParameterDeclaration
            | tsc.NamedTupleMember
            | undefined
        )[];
        localTypeParameters: tsc.TypeParameter[] | undefined;
        minLength: number;
        node?: tsc.ArrayTypeNode | tsc.TupleTypeNode | tsc.TypeReferenceNode;
        objectFlags: tsc.ObjectFlags;
        outerTypeParameters: tsc.TypeParameter[] | undefined;
        pattern?: DestructuringPattern;
        readonly: boolean;
        symbol: tsc.Symbol;
        target: GenericType;
        thisType: tsc.TypeParameter | undefined;
        typeArguments?: readonly tsc.Type[];
        typeParameters: tsc.TypeParameter[] | undefined;
        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[]
    combinedFlags: ElementFlags
    elementFlags: readonly ElementFlags[]
    fixedLength: number

    Number of initial required or optional elements

    flags: tsc.TypeFlags
    hasRestElement: boolean

    True if tuple has any rest or variadic elements

    labeledElementDeclarations?: readonly (
        tsc.ParameterDeclaration
        | tsc.NamedTupleMember
        | undefined
    )[]
    localTypeParameters: tsc.TypeParameter[] | undefined
    minLength: number

    Number of required or variadic elements

    objectFlags: tsc.ObjectFlags
    outerTypeParameters: tsc.TypeParameter[] | undefined
    readonly: boolean
    symbol: tsc.Symbol
    target: GenericType
    thisType: tsc.TypeParameter | undefined
    typeArguments?: readonly tsc.Type[]
    typeParameters: tsc.TypeParameter[] | undefined

    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