Skip to main content
Module

x/ts_morph/mod.ts>RenameOptions

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
interface RenameOptions
import { type RenameOptions } from "https://deno.land/x/ts_morph@15.1.0/mod.ts";

Options for renaming a node.

Properties

optional
renameInComments: boolean

Whether comments referencing this node should be renamed.

optional
renameInStrings: boolean

Whether strings referencing this node should be renamed.

optional
usePrefixAndSuffixText: boolean

Whether to enable renaming shorthand property assignments, binding elements, and import & export specifiers without changing behaviour.