scripts/node_modules/ajv/dist/vocabularies/jtd/type.d.ts

11 lines
509 B
TypeScript

import type { CodeKeywordDefinition } from "../../types";
import { _JTDTypeError } from "./error";
export declare type JTDTypeError = _JTDTypeError<"type", JTDType, JTDType>;
export declare type IntType = "int8" | "uint8" | "int16" | "uint16" | "int32" | "uint32";
export declare const intRange: {
[T in IntType]: [number, number, number];
};
export declare type JTDType = "boolean" | "string" | "timestamp" | "float32" | "float64" | IntType;
declare const def: CodeKeywordDefinition;
export default def;