From 6d611190b4e8a7f35e3c919d7aa4ac9df10421a3 Mon Sep 17 00:00:00 2001 From: John Ford Date: Mon, 14 Nov 2022 18:05:05 +0100 Subject: [PATCH] Export Ajv as a named export This is solving an issue where it's impossible for me to import Ajv in a typescript project. This solves #2047 for me import { Ajv } from 'ajv'; --- lib/ajv.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ajv.ts b/lib/ajv.ts index 7f87c8aea..31eb32db4 100644 --- a/lib/ajv.ts +++ b/lib/ajv.ts @@ -36,6 +36,8 @@ Object.defineProperty(exports, "__esModule", {value: true}) export default Ajv +export {Ajv} + export { Format, FormatDefinition,