mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-28 17:50:56 +01:00
10 lines
315 B
TypeScript
10 lines
315 B
TypeScript
import { FormatStyleName } from 'javascript-time-ago';
|
|
export declare const getTimeUnitParts: (timeUnit: string) => {
|
|
num?: undefined;
|
|
unit?: undefined;
|
|
} | {
|
|
num: number;
|
|
unit: string;
|
|
};
|
|
export declare const formatTimeAgo: (value: string | Date, formatStyle?: string | FormatStyleName) => string;
|