source: trip-planner-front/node_modules/ajv/dist/compile/errors.d.ts

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 826 bytes
Line 
1import type { KeywordErrorCxt, KeywordErrorDefinition } from "../types";
2import { CodeGen, Code, Name } from "./codegen";
3export declare const keywordError: KeywordErrorDefinition;
4export declare const keyword$DataError: KeywordErrorDefinition;
5export interface ErrorPaths {
6 instancePath?: Code;
7 schemaPath?: string;
8 parentSchema?: boolean;
9}
10export declare function reportError(cxt: KeywordErrorCxt, error?: KeywordErrorDefinition, errorPaths?: ErrorPaths, overrideAllErrors?: boolean): void;
11export declare function reportExtraError(cxt: KeywordErrorCxt, error?: KeywordErrorDefinition, errorPaths?: ErrorPaths): void;
12export declare function resetErrorsCount(gen: CodeGen, errsCount: Name): void;
13export declare function extendErrors({ gen, keyword, schemaValue, data, errsCount, it, }: KeywordErrorCxt): void;
Note: See TracBrowser for help on using the repository browser.