import { Node } from "https://deno.land/x/ts_morph@22.0.0/ts_morph.d.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/ts_morph.d.ts>Node#replaceWithText
import { Node } from "https://deno.land/x/ts_morph@22.0.0/ts_morph.d.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.