pluralGetSet.d.ts 666 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. import { PluginFunc, UnitType, ConfigType } from 'dayjs'
  2. declare const plugin: PluginFunc
  3. export = plugin
  4. declare module 'dayjs' {
  5. interface Dayjs {
  6. years(): number
  7. years(value: number): Dayjs
  8. months(): number
  9. months(value: number): Dayjs
  10. dates(): number
  11. dates(value: number): Dayjs
  12. weeks(): number
  13. weeks(value: number): Dayjs
  14. days(): number
  15. days(value: number): Dayjs
  16. hours(): number
  17. hours(value: number): Dayjs
  18. minutes(): number
  19. minutes(value: number): Dayjs
  20. seconds(): number
  21. seconds(value: number): Dayjs
  22. milliseconds(): number
  23. milliseconds(value: number): Dayjs
  24. }
  25. }