Node-Red configuration
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

index.d.ts 614B

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. }