source: imaps-frontend/node_modules/ajv-formats/dist/index.d.ts@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 580 bytes
Line 
1import { FormatMode, FormatName } from "./formats";
2import type { Plugin, Format } from "ajv";
3export { FormatMode, FormatName } from "./formats";
4export { LimitFormatError } from "./limit";
5export interface FormatOptions {
6 mode?: FormatMode;
7 formats?: FormatName[];
8 keywords?: boolean;
9}
10export declare type FormatsPluginOptions = FormatName[] | FormatOptions;
11export interface FormatsPlugin extends Plugin<FormatsPluginOptions> {
12 get: (format: FormatName, mode?: FormatMode) => Format;
13}
14declare const formatsPlugin: FormatsPlugin;
15export default formatsPlugin;
Note: See TracBrowser for help on using the repository browser.