Skip to main content
Module

x/ts_morph/mod.ts>SwitchStatement#removeClause

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

Removes the specified clause based on the provided index.

Parameters

index: number
  • Index.