(
arg1: DateType1 | number | string,
arg2: DateType2 | number | string,
)
| 45 | |
| 46 | it("allows dates to be of different types", () => { |
| 47 | function _test<DateType1 extends Date, DateType2 extends Date>( |
| 48 | arg1: DateType1 | number | string, |
| 49 | arg2: DateType2 | number | string, |
| 50 | ) { |
| 51 | isSameDay(arg1, arg2); |
| 52 | } |
| 53 | }); |
| 54 | |
| 55 | it("normalizes the dates", () => { |
nothing calls this directly
no test coverage detected