Module

x/ts_morph/mod.ts>RenameLocation

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class RenameLocation
extends DocumentSpan<ts.RenameLocation>
import { RenameLocation } from "https://dotland.deno.dev/x/ts_morph@21.0.1/mod.ts";

Rename location.

Methods

getPrefixText(): string | undefined

Gets the text to insert before the rename.

getSuffixText(): string | undefined

Gets the text to insert after the rename.