Module

x/ts_morph/mod.ts>Node#forgetDescendants

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

Forgets the descendants of this node.