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.

objectSupport.d.ts 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. import { PluginFunc } from 'dayjs'
  2. declare const plugin: PluginFunc
  3. export = plugin
  4. declare module 'dayjs' {
  5. interface Dayjs {
  6. set(argument: object): Dayjs
  7. add(argument: object): Dayjs
  8. subtract(argument: object): Dayjs
  9. }
  10. interface ConfigTypeMap {
  11. objectSupport: {
  12. years?: number | string;
  13. year?: number | string;
  14. y?: number | string;
  15. months?: number | string;
  16. month?: number | string;
  17. M?: number | string;
  18. days?: number | string;
  19. day?: number | string;
  20. d?: number | string;
  21. dates?: number | string;
  22. date?: number | string;
  23. D?: number | string;
  24. hours?: number | string;
  25. hour?: number | string;
  26. h?: number | string;
  27. minutes?: number | string;
  28. minute?: number | string;
  29. m?: number | string;
  30. seconds?: number | string;
  31. second?: number | string;
  32. s?: number | string;
  33. milliseconds?: number | string;
  34. millisecond?: number | string;
  35. ms?: number | string;
  36. }
  37. }
  38. }