From 293581b524beec0302ac372526c220f0e9627c2b Mon Sep 17 00:00:00 2001 From: Namandeep Singh Date: Tue, 27 Feb 2024 08:47:01 +0530 Subject: [PATCH] Fix Typo in MaxDate comment --- src/decorator/date/MaxDate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decorator/date/MaxDate.ts b/src/decorator/date/MaxDate.ts index 2bd062539f..0b8802b15f 100644 --- a/src/decorator/date/MaxDate.ts +++ b/src/decorator/date/MaxDate.ts @@ -11,7 +11,7 @@ export function maxDate(date: unknown, maxDate: Date | (() => Date)): boolean { } /** - * 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. */ export function MaxDate(date: Date | (() => Date), validationOptions?: ValidationOptions): PropertyDecorator { return ValidateBy(