UNPKG

@fe6/water-pro

Version:

An enterprise-class UI design language and Vue-based implementation

7 lines (6 loc) 418 B
import moment from 'moment'; declare type Value = moment.Moment | undefined | null; declare type Format = string | string[] | undefined | ((val?: Value) => string | string[] | undefined); export declare function formatDate(value: Value, format: Format): string | string[]; export declare const formatTimeWhenUseNowTime: (date: moment.Moment, timePosition?: number, timeRounding?: boolean) => moment.Moment; export {};