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

x/ts_morph/mod.ts>ManipulationSettings

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

Manipulation settings.

Properties

indentationText: IndentationText

Indentation text

newLineKind: NewLineKind

New line kind

quoteKind: QuoteKind

Quote type used for string literals.

usePrefixAndSuffixTextForRename: boolean

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

useTrailingCommas: boolean

Whether to use trailing commas when inserting or removing nodes.