UNPKG

@stryke/json

Version:

A package containing JSON parsing/stringify utilities used by Storm Software.

15 lines (14 loc) 336 B
interface Location { column: number; line: number; } interface NodeLocation { end?: Location; start?: Location; } export declare function codeFrameColumns(rawLines: string, loc: NodeLocation, opts?: { linesAbove?: number; linesBelow?: number; highlight?: (rawLines: string) => string; }): string; export {};