(
start: DateType1 | number | string,
end: DateType2 | number | string,
)
| 155 | |
| 156 | it("allows dates to be of different types", () => { |
| 157 | function _test<DateType1 extends Date, DateType2 extends Date>( |
| 158 | start: DateType1 | number | string, |
| 159 | end: DateType2 | number | string, |
| 160 | ) { |
| 161 | eachQuarterOfInterval({ start, end }); |
| 162 | } |
| 163 | }); |
| 164 | |
| 165 | describe("context", () => { |
nothing calls this directly
no test coverage detected