source: trip-planner-front/node_modules/ajv/dist/vocabularies/jtd/error.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: 529 bytes
Line 
1import type { KeywordErrorDefinition, KeywordErrorCxt, ErrorObject } from "../../types";
2import { Code } from "../../compile/codegen";
3export declare type _JTDTypeError<K extends string, T extends string, S> = ErrorObject<K, {
4 type: T;
5 nullable: boolean;
6}, S>;
7export declare function typeError(t: string): KeywordErrorDefinition;
8export declare function typeErrorMessage({ parentSchema }: KeywordErrorCxt, t: string): string;
9export declare function typeErrorParams({ parentSchema }: KeywordErrorCxt, t: string): Code;
Note: See TracBrowser for help on using the repository browser.