UNPKG

rule-filter-validator

Version:

A object and scope validator based on structured rules

8 lines (7 loc) 278 B
/** * Adjust a given date by a given change in duration. The adjustment value uses the exact same syntax * and logic as Vercel's `ms`. * * The conversion is lifted straight from `ms`. */ export declare function adjustDate(date: Date, adjustment: string): Date | undefined;