Last change
on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
529 bytes
|
Line | |
---|
1 | import type { KeywordErrorDefinition, KeywordErrorCxt, ErrorObject } from "../../types";
|
---|
2 | import { Code } from "../../compile/codegen";
|
---|
3 | export declare type _JTDTypeError<K extends string, T extends string, S> = ErrorObject<K, {
|
---|
4 | type: T;
|
---|
5 | nullable: boolean;
|
---|
6 | }, S>;
|
---|
7 | export declare function typeError(t: string): KeywordErrorDefinition;
|
---|
8 | export declare function typeErrorMessage({ parentSchema }: KeywordErrorCxt, t: string): string;
|
---|
9 | export declare function typeErrorParams({ parentSchema }: KeywordErrorCxt, t: string): Code;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.