78bd014a3cc6a4d667e0816448e63660d7b3c3750ceba7dc01fdfa474a1d6b9e87bfebfc42a4857d2cb709d45e877192a3a8fe3b95a10e05f2d47c8240e95f 617 B

123456789101112131415161718192021222324252627
  1. import { PluginFunc, OpUnitType, ConfigType } from 'dayjs/esm'
  2. declare const plugin: PluginFunc
  3. export = plugin
  4. type ISOUnitType = OpUnitType | 'isoWeek';
  5. declare module 'dayjs/esm' {
  6. interface Dayjs {
  7. isoWeekYear(): number
  8. isoWeek(): number
  9. isoWeek(value: number): Dayjs
  10. isoWeekday(): number
  11. isoWeekday(value: number): Dayjs
  12. startOf(unit: ISOUnitType): Dayjs
  13. endOf(unit: ISOUnitType): Dayjs
  14. isSame(date?: ConfigType, unit?: ISOUnitType): boolean
  15. isBefore(date?: ConfigType, unit?: ISOUnitType): boolean
  16. isAfter(date?: ConfigType, unit?: ISOUnitType): boolean
  17. }
  18. }