First commit
This commit is contained in:
9
node_modules/ajv/dist/vocabularies/jtd/error.d.ts
generated
vendored
Normal file
9
node_modules/ajv/dist/vocabularies/jtd/error.d.ts
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import type { KeywordErrorDefinition, KeywordErrorCxt, ErrorObject } from "../../types";
|
||||
import { Code } from "../../compile/codegen";
|
||||
export type _JTDTypeError<K extends string, T extends string, S> = ErrorObject<K, {
|
||||
type: T;
|
||||
nullable: boolean;
|
||||
}, S>;
|
||||
export declare function typeError(t: string): KeywordErrorDefinition;
|
||||
export declare function typeErrorMessage({ parentSchema }: KeywordErrorCxt, t: string): string;
|
||||
export declare function typeErrorParams({ parentSchema }: KeywordErrorCxt, t: string): Code;
|
||||
Reference in New Issue
Block a user