HEX
Server: nginx/1.28.0
System: Linux server-one 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
User: root (0)
PHP: 8.3.23
Disabled: NONE
Upload Files
File: //proc/self/root/lib/node_modules/pm2/node_modules/dayjs/plugin/minMax.d.ts
import { PluginFunc } from 'dayjs'

declare const plugin: PluginFunc
export = plugin

declare module 'dayjs' {
  export function max(dayjs: [Dayjs, ...Dayjs[]]): Dayjs
  export function max(noDates: never[]): null
  export function max(maybeDates: Dayjs[]): Dayjs | null

  export function max(...dayjs: [Dayjs, ...Dayjs[]]): Dayjs
  export function max(...noDates: never[]): null
  export function max(...maybeDates: Dayjs[]): Dayjs | null

  export function min(dayjs: [Dayjs, ...Dayjs[]]): Dayjs
  export function min(noDates: never[]): null
  export function min(maybeDates: Dayjs[]): Dayjs | null

  export function min(...dayjs: [Dayjs, ...Dayjs[]]): Dayjs
  export function min(...noDates: never[]): null
  export function min(...maybeDates: Dayjs[]): Dayjs | null
}