Skip to content

Commit

Permalink
fix: add "in" rule in default number rules (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
FACON-Nicolas authored May 22, 2024
1 parent 0b5e212 commit 39204e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/schema/number/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export class VineNumber extends BaseLiteralType<string | number, number, number>
* Default collection of number rules
*/
static rules = {
in: inRule,
max: maxRule,
min: minRule,
range: rangeRule,
Expand Down

0 comments on commit 39204e4

Please sign in to comment.