mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-06 07:09:12 +08:00
9 lines
529 B
Text
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;
|