Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno2node/src/deps.deno.ts>CodeBlockWriter#queueIndentationLevel

Compile your Deno project to run on Node.js.
Latest
method CodeBlockWriter.prototype.queueIndentationLevel
import { CodeBlockWriter } from "https://deno.land/x/deno2node@v1.12.0/src/deps.deno.ts";

Queues the indentation level for the next lines written.

Parameters

indentationLevel: number
  • Indentation level to queue.

Queues the indentation level for the next lines written using the provided indentation text.

Parameters

whitespaceText: string
  • Gets the indentation level from the indentation text.