Open JLa2r opened 1 year ago
The min() and max() methods can return null (as a result of the .sortBy()) but this is not mentioned in the documentation. The .d.ts file also only indicates that it will return a Dayjs (not Dayjs | null).
min()
max()
null
.sortBy()
.d.ts
Dayjs
Dayjs | null
The
min()
andmax()
methods can returnnull
(as a result of the.sortBy()
) but this is not mentioned in the documentation. The.d.ts
file also only indicates that it will return aDayjs
(notDayjs | null
).