Module

x/ts_morph/ts_morph.d.ts>Node#getLeadingTriviaWidth

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

Gets the node's leading trivia's text length.

Returns

number