Urara-Blog/node_modules/.pnpm-store/v3/files/04/f04ba753bf2f635d72639bfafa4058424a6589c00991ff32c3262da48eca70e0c79255c6d6408f7a8354037a22c7dc57f8ed7e53799ef2b45b0a5a21575958
2022-08-14 01:14:53 +08:00

9 lines
529 B
Text

import type { KeywordErrorDefinition, KeywordErrorCxt, ErrorObject } from "../../types";
import { Code } from "../../compile/codegen";
export declare 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;