Module

x/ts_morph/ts_morph.d.ts>CodeBlockWriterOptions

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
interface CodeBlockWriterOptions
import { type CodeBlockWriterOptions } from "https://dotland.deno.dev/x/ts_morph@17.0.0/ts_morph.d.ts";

Options for the writer.

Properties

newLine: "\n" | "\r\n"

Newline character.

indentNumberOfSpaces: number

Number of spaces to indent when useTabs is false.

useTabs: boolean

Whether to use tabs (true) or spaces (false).

useSingleQuote: boolean

Whether to use a single quote (true) or double quote (false).