提交
This commit is contained in:
22
甲情_甲意/miniprogram/node_modules/dayjs/plugin/minMax.d.ts
generated
vendored
Normal file
22
甲情_甲意/miniprogram/node_modules/dayjs/plugin/minMax.d.ts
generated
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user