Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
method CodeBlockWriter.prototype.queueIndentationLevel
import { CodeBlockWriter } from "https://deno.land/x/dnt@0.36.0/lib/mod.deps.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.

Parameters

countOrText: string | number