Skip to content

Commit

Permalink
Export Ajv as a named export
Browse files Browse the repository at this point in the history
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';
  • Loading branch information
jhford committed Nov 14, 2022
1 parent 01e644a commit b4de190
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ajv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ Object.defineProperty(exports, "__esModule", {value: true})

export default Ajv

export { Ajv }

export {
Format,
FormatDefinition,
Expand Down

0 comments on commit b4de190

Please sign in to comment.