@jirutka/ajv-cli
Version:
CLI for Ajv JSON Schema Validator with human-friendly error messages
13 lines (12 loc) • 365 B
TypeScript
import type { LocationRange } from './parsers/index.js';
interface Options {
colors?: boolean;
filename?: string;
linesAbove?: number;
linesBelow?: number;
maxLineWidth?: number;
message?: string;
title?: string;
}
export declare function codespan(rawLines: readonly string[], location: LocationRange, opts: Options): string;
export {};