(
arg1: DateType1 | number | string,
arg2: DateType2 | number | string,
)
| 811 | |
| 812 | it("allows dates to be of different types", () => { |
| 813 | function _test<DateType1 extends Date, DateType2 extends Date>( |
| 814 | arg1: DateType1 | number | string, |
| 815 | arg2: DateType2 | number | string, |
| 816 | ) { |
| 817 | intlFormatDistance(arg1, arg2); |
| 818 | } |
| 819 | }); |
| 820 | |
| 821 | it("normalizes the dates", () => { |
nothing calls this directly
no test coverage detected