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
Go to Latest
method SwitchStatement.prototype.removeClauses
import { SwitchStatement } from "https://deno.land/x/ts_morph@15.1.0/mod.ts";

Removes the specified clauses based on the provided index range.

Parameters

indexRange: [number, number]
  • Index range.