diff --git a/src/utils/date/helpers.ts b/src/utils/date/helpers.ts
index 9618fbf5..75284d1a 100755
--- a/src/utils/date/helpers.ts
+++ b/src/utils/date/helpers.ts
@@ -142,7 +142,7 @@ interface NumberRuleConfig {
   interval?: number;
 }
 
-type DatePartsRuleFunction = (part: number, parts: TimeParts) => boolean;
+type DatePartsRuleFunction = (part: number, parts: DateParts) => boolean;
 
 type DatePartsRule =
   | number