(
arg1: DateType1 | number | string,
arg2: DateType2 | number | string,
)
| 216 | |
| 217 | it("allows dates to be of different types", () => { |
| 218 | function _test<DateType1 extends Date, DateType2 extends Date>( |
| 219 | arg1: DateType1 | number | string, |
| 220 | arg2: DateType2 | number | string, |
| 221 | ) { |
| 222 | differenceInDays(arg1, arg2); |
| 223 | } |
| 224 | }); |
| 225 | |
| 226 | describe("context", () => { |
nothing calls this directly
no test coverage detected