Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno2node/src/deps.deno.ts>RefactorEditInfo

Compile your Deno project to run on Node.js.
Go to Latest
class RefactorEditInfo
import { RefactorEditInfo } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";

Set of edits to make in response to a refactor action, plus an optional location where renaming should be invoked from.

Constructors

new
private
RefactorEditInfo()

Properties

readonly
compilerObject: ts.RefactorEditInfo

Gets the compiler refactor edit info.

Methods

Executes the combined code actions.

WARNING: This will cause all nodes to be forgotten in the changed files.

Gets refactor file text changes

getRenameFilePath(): string | undefined

Gets the file path for a rename refactor.

getRenameLocation(): number | undefined

Location where renaming should be invoked from.