(
start: DateType1 | number | string,
end: DateType2 | number | string,
)
| 188 | |
| 189 | it("allows dates to be of different types", () => { |
| 190 | function _test<DateType1 extends Date, DateType2 extends Date>( |
| 191 | start: DateType1 | number | string, |
| 192 | end: DateType2 | number | string, |
| 193 | ) { |
| 194 | eachWeekOfInterval({ start, end }); |
| 195 | } |
| 196 | }); |
| 197 | |
| 198 | describe("context", () => { |
nothing calls this directly
no test coverage detected