UNPKG

reablocks

Version:
8 lines (7 loc) 320 B
export declare function getDifference(date: Date): number; export interface FormatRelativeOptions { addSuffix?: boolean; includeSeconds?: boolean; } export declare function formatRelative(date: Date, options?: FormatRelativeOptions): string; export declare function getInterval(date: Date): 0 | 60000 | 3600000;