Skip to main content
Module

x/ts_morph/mod.ts>Node#getStartLinePos

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

Gets the position of the start of the line that this node starts on.

Parameters

optional
includeJsDocComments: boolean
  • Whether to include the JS doc comments or not.

Returns

number