Skip to main content
Module

x/ts_morph/mod.ts>CodeBlockWriter#indent

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

Indents the code one level for the current line.

Parameters

optional
times: number

Indents a block of code.

Parameters

block: () => void
  • Block to indent.