Skip to content

Commit

Permalink
fix: omit minLength, and maxLength after length
Browse files Browse the repository at this point in the history
  • Loading branch information
JUSTIVE committed Jun 7, 2024
1 parent d328422 commit 5c6a62c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/Pattern.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ export type StringChainable<
len: len
): StringChainable<
MergeGuards<input, p, GuardExcludeP<unknown, string, never>>,
omitted | 'length'
omitted | 'length' | 'minLength' | 'maxLength'
>;
/**
* `P.string.maxLength(max)` is a pattern, matching **strings** with at most `max` characters.
Expand Down

0 comments on commit 5c6a62c

Please sign in to comment.