Skip to content

Commit

Permalink
Merge pull request #149 from luozhihua/patch-1
Browse files Browse the repository at this point in the history
Fixed ajvKeywords.default is not a function.
  • Loading branch information
epoberezkin committed Jan 3, 2021
2 parents 6a6b8ed + 72d56bd commit 0fe9292
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ function get(keyword: string): Plugin<any> {

export default ajvKeywords
module.exports = ajvKeywords

// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
module.exports.default = ajvKeywords

0 comments on commit 0fe9292

Please sign in to comment.