Module

x/ts_morph/ts_morph.d.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://dotland.deno.dev/x/ts_morph@20.0.0/ts_morph.d.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.