(
start: DateType1 | number | string,
end: DateType2 | number | string,
)
| 212 | |
| 213 | it("allows dates to be of different types", () => { |
| 214 | function _test<DateType1 extends Date, DateType2 extends Date>( |
| 215 | start: DateType1 | number | string, |
| 216 | end: DateType2 | number | string, |
| 217 | ) { |
| 218 | eachDayOfInterval({ start, end }); |
| 219 | } |
| 220 | }); |
| 221 | |
| 222 | describe("context", () => { |
nothing calls this directly
no test coverage detected