Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.d.ts 612B

1234567891011121314151617181920212223242526
  1. import { PluginFunc, ConfigType, QUnitType, OpUnitType } from 'dayjs/esm'
  2. declare const plugin: PluginFunc
  3. export = plugin
  4. declare module 'dayjs/esm' {
  5. interface Dayjs {
  6. quarter(): number
  7. quarter(quarter: number): Dayjs
  8. add(value: number, unit: QUnitType): Dayjs
  9. subtract(value: number, unit: QUnitType): Dayjs
  10. startOf(unit: QUnitType | OpUnitType): Dayjs
  11. endOf(unit: QUnitType | OpUnitType): Dayjs
  12. isSame(date: ConfigType, unit?: QUnitType): boolean
  13. isBefore(date: ConfigType, unit?: QUnitType): boolean
  14. isAfter(date: ConfigType, unit?: QUnitType): boolean
  15. }
  16. }