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