Skip to content

Commit 0fe9292

Browse files
authored
Merge pull request #149 from luozhihua/patch-1
Fixed ajvKeywords.default is not a function.
2 parents 6a6b8ed + 72d56bd commit 0fe9292

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ function get(keyword: string): Plugin<any> {
2727

2828
export default ajvKeywords
2929
module.exports = ajvKeywords
30+
31+
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
32+
module.exports.default = ajvKeywords

0 commit comments

Comments
 (0)