Module

x/ts_morph/ts_morph.d.ts>DotDotDotTokenableNode

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
interface DotDotDotTokenableNode
import { type DotDotDotTokenableNode } from "https://dotland.deno.dev/x/ts_morph@17.0.0/ts_morph.d.ts";

Methods

getDotDotDotToken(): Node<ts.DotDotDotToken> | undefined

Gets the dot dot dot token (...) if it exists or returns undefined

getDotDotDotTokenOrThrow(message?: string | (() => string)): Node<ts.DotDotDotToken>

Gets the dot dot dot token (...) if it exists or throws if not.

function DotDotDotTokenableNode
import { DotDotDotTokenableNode } from "https://dotland.deno.dev/x/ts_morph@17.0.0/ts_morph.d.ts";

Type Parameters

T extends Constructor<DotDotDotTokenableNodeExtensionType>