Skip to main content
Module

x/ts_morph/mod.ts>SwitchStatement#removeClauses

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
method SwitchStatement.prototype.removeClauses
import { SwitchStatement } from "https://deno.land/x/ts_morph@22.0.0/mod.ts";

Removes the specified clauses based on the provided index range.

Parameters

indexRange: [number, number]
  • Index range.