.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / table / node_modules / ajv / dist / compile / errors.d.ts
1 import type { KeywordErrorCxt, KeywordErrorDefinition } from "../types";
2 import { CodeGen, Code, Name } from "./codegen";
3 export declare const keywordError: KeywordErrorDefinition;
4 export declare const keyword$DataError: KeywordErrorDefinition;
5 export interface ErrorPaths {
6     instancePath?: Code;
7     schemaPath?: string;
8     parentSchema?: boolean;
9 }
10 export declare function reportError(cxt: KeywordErrorCxt, error?: KeywordErrorDefinition, errorPaths?: ErrorPaths, overrideAllErrors?: boolean): void;
11 export declare function reportExtraError(cxt: KeywordErrorCxt, error?: KeywordErrorDefinition, errorPaths?: ErrorPaths): void;
12 export declare function resetErrorsCount(gen: CodeGen, errsCount: Name): void;
13 export declare function extendErrors({ gen, keyword, schemaValue, data, errsCount, it, }: KeywordErrorCxt): void;