Open DarkSavci opened 3 months ago
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
type DatePartsRuleFunction = (part: number, parts: TimeParts) => boolean;
type DatePartsRuleFunction = (part: number, parts: DateParts) => boolean;
type DatePartsRuleFunction = (part: number, parts: TimeParts) => boolean;
should betype DatePartsRuleFunction = (part: number, parts: DateParts) => boolean;
so we can acess the full types defined in docs