scripts/node_modules/ajv/dist/runtime/parseJson.d.ts

19 lines
642 B
TypeScript

export declare function parseJson(s: string, pos: number): unknown;
export declare namespace parseJson {
var message: string | undefined;
var position: number;
var code: string;
}
export declare function parseJsonNumber(s: string, pos: number, maxDigits?: number): number | undefined;
export declare namespace parseJsonNumber {
var message: string | undefined;
var position: number;
var code: string;
}
export declare function parseJsonString(s: string, pos: number): string | undefined;
export declare namespace parseJsonString {
var message: string | undefined;
var position: number;
var code: string;
}