Skip to main content
Deno 2 is finally here 🎉️
Learn more
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://deno.land/x/ts_morph@16.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(): Node<ts.DotDotDotToken>

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

function DotDotDotTokenableNode
import { DotDotDotTokenableNode } from "https://deno.land/x/ts_morph@16.0.0/ts_morph.d.ts";

Type Parameters

T extends Constructor<DotDotDotTokenableNodeExtensionType>