Module

x/ts_morph/ts_morph.d.ts>TextChange

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class TextChange
import { TextChange } from "https://dotland.deno.dev/x/ts_morph@18.0.0/ts_morph.d.ts";

Represents a text change.

Constructors

new
private
TextChange()

Properties

readonly
compilerObject: ts.TextChange

Gets the compiler text change.

Methods

getNewText(): string

Gets the new text.

Gets the text span.