Skip to main content
Module

x/ts_morph/mod.ts>TextChange

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class TextChange
import { TextChange } from "https://deno.land/x/ts_morph@15.1.0/mod.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.