审查视图

node_modules/dayjs/esm/plugin/toObject/index.d.ts 323 字节
韩昌 authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
import { PluginFunc } from 'dayjs/esm'

declare const plugin: PluginFunc
export = plugin

interface DayjsObject {
  years: number
  months: number
  date: number
  hours: number
  minutes: number
  seconds: number
  milliseconds: number
}

declare module 'dayjs/esm' {
  interface Dayjs {
    toObject(): DayjsObject
  }
}