Skip to main content
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://deno.land/x/ts_morph@15.1.0/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.