From 16ec76b78d0b8d5da019fbdffcd0a137a3293708 Mon Sep 17 00:00:00 2001 From: Matthias Hermsen Date: Thu, 23 Jun 2022 15:03:03 +0200 Subject: [PATCH] feat: export type 'Format' (#432) --- lib/index.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/index.ts b/lib/index.ts index f1d99b7..bda65cd 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -1,3 +1,4 @@ +import { Format } from 'ajv'; import { getDefaultAjvInstance } from './getDefaultAjvInstance'; import { isOfType } from './isOfType'; import { JSONSchema7 as JsonSchema } from 'json-schema'; @@ -5,7 +6,11 @@ import { parse } from './parse'; import { ParseError } from './ParseError'; import { Parser } from './Parser'; -export type { JsonSchema }; +export type { + Format, + JsonSchema +}; + export { getDefaultAjvInstance, isOfType,