import { SwitchStatement } from "https://deno.land/x/ts_morph@16.0.0/mod.ts";
Methods
Gets this switch statement's case block.
Gets the switch statement's case block's clauses.
getParent(): NodeParentType<ts.SwitchStatement>
getParentOrThrow(): NonNullable<NodeParentType<ts.SwitchStatement>>
removeClause(index: number): CaseBlock
Removes the specified clause based on the provided index.
removeClauses(indexRange: [number, number]): CaseBlock
Removes the specified clauses based on the provided index range.