15
node_modules/ajv-formats/dist/index.d.ts
generated
vendored
15
node_modules/ajv-formats/dist/index.d.ts
generated
vendored
@@ -1,15 +0,0 @@
|
||||
import { FormatMode, FormatName } from "./formats";
|
||||
import type { Plugin, Format } from "ajv";
|
||||
export { FormatMode, FormatName } from "./formats";
|
||||
export { LimitFormatError } from "./limit";
|
||||
export interface FormatOptions {
|
||||
mode?: FormatMode;
|
||||
formats?: FormatName[];
|
||||
keywords?: boolean;
|
||||
}
|
||||
export type FormatsPluginOptions = FormatName[] | FormatOptions;
|
||||
export interface FormatsPlugin extends Plugin<FormatsPluginOptions> {
|
||||
get: (format: FormatName, mode?: FormatMode) => Format;
|
||||
}
|
||||
declare const formatsPlugin: FormatsPlugin;
|
||||
export default formatsPlugin;
|
||||
Reference in New Issue
Block a user