We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 795d8ff commit 2ab6618Copy full SHA for 2ab6618
src/decorator/date/MaxDate.ts
@@ -11,7 +11,7 @@ export function maxDate(date: unknown, maxDate: Date | (() => Date)): boolean {
11
}
12
13
/**
14
- * Checks if the value is a date that's after the specified date.
+ * Checks if the value is a date that's before the specified date.
15
*/
16
export function MaxDate(date: Date | (() => Date), validationOptions?: ValidationOptions): PropertyDecorator {
17
return ValidateBy(
0 commit comments