(
start: DateType1 | number | string,
end: DateType2 | number | string,
)
| 220 | |
| 221 | it("allows dates to be of different types", () => { |
| 222 | function _test<DateType1 extends Date, DateType2 extends Date>( |
| 223 | start: DateType1 | number | string, |
| 224 | end: DateType2 | number | string, |
| 225 | ) { |
| 226 | eachMinuteOfInterval({ start, end }); |
| 227 | } |
| 228 | }); |
| 229 | |
| 230 | describe("context", () => { |
nothing calls this directly
no test coverage detected