Skip to content

Commit 2ab6618

Browse files
Fix Typo in MaxDate comment (#2423)
Co-authored-by: Brage Sekse Aarset <[email protected]>
1 parent 795d8ff commit 2ab6618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/decorator/date/MaxDate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export function maxDate(date: unknown, maxDate: Date | (() => Date)): boolean {
1111
}
1212

1313
/**
14-
* Checks if the value is a date that's after the specified date.
14+
* Checks if the value is a date that's before the specified date.
1515
*/
1616
export function MaxDate(date: Date | (() => Date), validationOptions?: ValidationOptions): PropertyDecorator {
1717
return ValidateBy(

0 commit comments

Comments
 (0)