Skip to main content
Module

x/ts_morph/mod.ts>DefaultClause

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
class DefaultClause
extends DefaultClauseBase<ts.DefaultClause>
import { DefaultClause } from "https://deno.land/x/ts_morph@22.0.0/mod.ts";

Methods

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

Removes the default clause.