/** * 将时间戳转为字符串 * @param {number} type 转换类型,(0:yyyy-MM-dd,1:yyyy-MM-dd HH:mm:ss,2:yyyy-MM-dd HH:mm) */ export default function format(date: number, type: 0 | 1 | 2): string;