timejs() function
timejs 依赖于 dayjs 构建,形成管理时间的工具函数 TypeScript 中的 timejs
函数接受一个参数 props
,并返回使用 props
调用 dayjs
的结果。
Signature:
typescript
timejs: (props?: any, props1?: any, props2?: any) => dayjs.Dayjs
Parameters
Parameter | Type | Description |
---|---|---|
props | any | (Optional) |
props1 | any | (Optional) |
props2 | any | (Optional) |
dayjs.Dayjs
timejs
函数正在返回使用 props
参数调用 dayjs
函数的结果。