Skip to content

Commit

Permalink
Correct user keywords example code
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuksel Beyti committed Oct 11, 2024
1 parent 69568d0 commit fc5cd4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/user-keywords.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ ajv.addKeyword({
keyword: "range",
type: "number",
schemaType: "array",
implements: "exclusiveRange",
implements: ["exclusiveRange"],
compile: ([min, max], parentSchema) =>
parentSchema.exclusiveRange === true
? (data) => data > min && data < max
Expand Down

0 comments on commit fc5cd4d

Please sign in to comment.