Node-Red configuration
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

toObject.d.ts 315B

1234567891011121314151617181920
  1. import { PluginFunc } from 'dayjs'
  2. declare const plugin: PluginFunc
  3. export = plugin
  4. interface DayjsObject {
  5. years: number
  6. months: number
  7. date: number
  8. hours: number
  9. minutes: number
  10. seconds: number
  11. milliseconds: number
  12. }
  13. declare module 'dayjs' {
  14. interface Dayjs {
  15. toObject(): DayjsObject
  16. }
  17. }