import { Node } from "https://deno.land/x/ts_morph@15.1.0/mod.ts";
Replaces the text of the current node with new text.
This will forget the current node and return a new node that can be asserted or type guarded to the correct type.
x/ts_morph/mod.ts>Node#replaceWithText
import { Node } from "https://deno.land/x/ts_morph@15.1.0/mod.ts";
Replaces the text of the current node with new text.
This will forget the current node and return a new node that can be asserted or type guarded to the correct type.