@servicenow/sdk - v4.4.1
    Preparing search index...
    interface TypedNode {
        getTypeNode(): TypeNode<tsc.TypeNode> | undefined;
        getTypeNodeOrThrow(message?: string | (() => string)): TypeNode;
        removeType(): this;
        setType(textOrWriterFunction: string | WriterFunction): this;
    }
    Index

    Methods

    • Gets the type node or undefined if none exists.

      Returns TypeNode<tsc.TypeNode> | undefined

    • Gets the type node or throws if none exists.

      Parameters

      • Optionalmessage: string | (() => string)

      Returns TypeNode

    • Removes the type.

      Returns this

    • Sets the type.

      Parameters

      • textOrWriterFunction: string | WriterFunction

        Text or writer function to set the type with.

      Returns this