Skip to main content
Module

x/ts_morph/mod.ts>BodiedNode

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
interface BodiedNode
import { type BodiedNode } from "https://deno.land/x/ts_morph@15.1.0/mod.ts";

Methods

getBody(): Node

Gets the body.

setBodyText(textOrWriterFunction: string | WriterFunction): this

Sets the body text.

getBodyText(): string

Gets the body text without leading whitespace, leading indentation, or trailing whitespace.

function BodiedNode
import { BodiedNode } from "https://deno.land/x/ts_morph@15.1.0/mod.ts";

Type Parameters

T extends Constructor<BodiedNodeExtensionType>