Module

x/ts_morph/ts_morph.js>CodeBlockWriter#indent

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
method CodeBlockWriter.prototype.indent
import { CodeBlockWriter } from "https://dotland.deno.dev/x/ts_morph@22.0.0/ts_morph.js";

Indents the code one level for the current line.

Parameters

optional
times: number

Indents a block of code.

Parameters

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