@ui5/linter
Version:
A static code analysis tool for UI5
10 lines (9 loc) • 366 B
TypeScript
import ts from "typescript";
import type { PositionRange } from "../linter/LinterContext.js";
import type { TraceMap } from "@jridgewell/trace-mapping";
export declare function getPositionsForNode({ node, sourceFile, traceMap, resourcePath }: {
node: ts.Node;
resourcePath: string;
sourceFile?: ts.SourceFile;
traceMap?: TraceMap;
}): PositionRange;