版博士V2.0程序
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

1234567891011121314151617181920
  1. import { PluginFunc } from 'dayjs/esm'
  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/esm' {
  14. interface Dayjs {
  15. toObject(): DayjsObject
  16. }
  17. }