Skip to main content
Module

x/deno2node/src/deps.deno.ts>Decorator#removeArgument

Compile your Deno project to run on Node.js.
Go to Latest
method Decorator.prototype.removeArgument
import { Decorator } from "https://deno.land/x/deno2node@v1.6.0/src/deps.deno.ts";

Removes an argument based on the node.

Parameters

node: Node
  • Argument's node to remove.

Removes an argument based on the specified index.

Parameters

index: number
  • Index to remove.