import { type BodyableNode } from "https://deno.land/x/ts_morph@15.1.0/mod.ts";
Methods
Gets the body text without leading whitespace, leading indentation, or trailing whitespace. Returns undefined if there is no body.
setBodyText(textOrWriterFunction: string | WriterFunction): this
Sets the body text. A body is required to do this operation.
import { BodyableNode } from "https://deno.land/x/ts_morph@15.1.0/mod.ts";
Type Parameters
T extends Constructor<BodyableNodeExtensionType>
Parameters
Base: T