File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed
Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,19 @@ declare const plugin: PluginFunc
44export = plugin
55
66declare module 'dayjs' {
7- export function max ( dayjs : Dayjs [ ] ) : Dayjs | null
8- export function max ( ...dayjs : Dayjs [ ] ) : Dayjs | null
9- export function min ( dayjs : Dayjs [ ] ) : Dayjs | null
10- export function min ( ...dayjs : Dayjs [ ] ) : Dayjs | null
7+ export function max ( dayjs : [ Dayjs , ...Dayjs [ ] ] ) : Dayjs
8+ export function max ( noDates : never [ ] ) : null
9+ export function max ( maybeDates : Dayjs [ ] ) : Dayjs | null
10+
11+ export function max ( ...dayjs : [ Dayjs , ...Dayjs [ ] ] ) : Dayjs
12+ export function max ( ...noDates : never [ ] ) : null
13+ export function max ( ...maybeDates : Dayjs [ ] ) : Dayjs | null
14+
15+ export function min ( dayjs : [ Dayjs , ...Dayjs [ ] ] ) : Dayjs
16+ export function min ( noDates : never [ ] ) : null
17+ export function min ( maybeDates : Dayjs [ ] ) : Dayjs | null
18+
19+ export function min ( ...dayjs : [ Dayjs , ...Dayjs [ ] ] ) : Dayjs
20+ export function min ( ...noDates : never [ ] ) : null
21+ export function min ( ...maybeDates : Dayjs [ ] ) : Dayjs | null
1122}
You can’t perform that action at this time.
0 commit comments