(
start: DateType1 | number | string,
end: DateType2 | number | string,
)
| 125 | |
| 126 | it("allows dates to be of different types", () => { |
| 127 | function _test<DateType1 extends Date, DateType2 extends Date>( |
| 128 | start: DateType1 | number | string, |
| 129 | end: DateType2 | number | string, |
| 130 | ) { |
| 131 | eachWeekendOfInterval({ start, end }); |
| 132 | } |
| 133 | }); |
| 134 | |
| 135 | describe("context", () => { |
nothing calls this directly
no test coverage detected