(
arg1: DateType1 | number | string,
arg2: DateType2 | number | string,
)
| 51 | |
| 52 | it("allows dates to be of different types", () => { |
| 53 | function _test<DateType1 extends Date, DateType2 extends Date>( |
| 54 | arg1: DateType1 | number | string, |
| 55 | arg2: DateType2 | number | string, |
| 56 | ) { |
| 57 | isSameQuarter(arg1, arg2); |
| 58 | } |
| 59 | }); |
| 60 | |
| 61 | it("normalizes the dates", () => { |