13 lines
389 B
TypeScript
13 lines
389 B
TypeScript
type FormatType = ((dayjs: any) => string) | string;
|
|
/**
|
|
* 格式化区域日期,如果是一个数组,会返回 start ~ end
|
|
* @param {any} value
|
|
* @param {FormatType | FormatType[]} format
|
|
* returns string
|
|
*/
|
|
export declare const dateArrayFormatter: (value: any[], format: FormatType | {
|
|
format: string;
|
|
type?: "mask" | undefined;
|
|
} | FormatType[]) => string;
|
|
export {};
|