UNPKG

durrrrrrrrrjs

Version:

JavaScript Plugin for Nx

15 lines (14 loc) 482 B
declare type Location = { column: number; line: number; }; declare type NodeLocation = { end?: Location; start?: Location; }; export declare function codeFrameColumns(rawLines: string, loc: NodeLocation, opts?: Object): string; /** * Create a code frame, adding line numbers, code highlighting, and pointing to a given position. */ export default function (rawLines: string, lineNumber: number, colNumber?: number, opts?: Object): string; export {};