(
start: DateType1 | number | string,
end: DateType2 | number | string,
)
| 202 | |
| 203 | it("allows dates to be of different types", () => { |
| 204 | function _test<DateType1 extends Date, DateType2 extends Date>( |
| 205 | start: DateType1 | number | string, |
| 206 | end: DateType2 | number | string, |
| 207 | ) { |
| 208 | eachHourOfInterval({ start, end }); |
| 209 | } |
| 210 | }); |
| 211 | |
| 212 | describe("context", () => { |
nothing calls this directly
no test coverage detected