Module

x/ts_morph/ts_morph.d.ts>DefaultClause

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class DefaultClause
extends DefaultClauseBase<ts.DefaultClause>
import { DefaultClause } from "https://dotland.deno.dev/x/ts_morph@17.0.0/ts_morph.d.ts";

Methods

getParent(): NodeParentType<ts.DefaultClause>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.DefaultClause>>
remove(): void

Removes the default clause.