Skip to main content
Module

x/deno2node/src/deps.deno.ts>SourceFile#unindent

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

Deindents the line at the specified position.

Parameters

pos: number
  • Position.
optional
times: number
  • Times to unindent. Specify a negative value to indent.

Deindents the lines within the specified range.

Parameters

positionRange: [number, number]
  • Position range.
optional
times: number
  • Times to unindent. Specify a negative value to indent.