UNPKG

@leafygreen-ui/date-utils

Version:
3 lines 191 B
/** A wrapper around `date-fns.toDate` that also accepts strings */ export declare function toDate(dateLike?: string | number | Date | null): Date | null; //# sourceMappingURL=toDate.d.ts.map