UNPKG

nsn-util

Version:

NSN工具辅助组件

15 lines (14 loc) 285 B
/** * 获取日期 * * @param str 需要格式化的日期格式字符串 * @returns 字符串未定义时,返回当前日期 */ declare const now: (str?: string) => { text: string; value: string; year: number; month: number; day: number; }; export { now };