Wrong type on DatePartsRuleFunction
DarkSavci opened this issue · comments
type DatePartsRuleFunction = (part: number, parts: TimeParts) => boolean;
should be
type DatePartsRuleFunction = (part: number, parts: DateParts) => boolean;
so we can acess the full types defined in docs