ivue-material-plus
Version:
A high quality UI components Library with Vue.js
13 lines (12 loc) • 465 B
TypeScript
export declare type Locale = {
before?: string;
after?: string;
just?: string;
seconds?: string;
minutes?: string;
hours?: string;
days?: string;
};
export declare const getHandledValue: (num: number) => string | number;
export declare const getDate: (timeStamp: number, startType?: string) => string;
export declare const getRelativeTime: (timeStamp: number, locale?: Locale, dateStartType?: string, dateFunction?: Function) => string;