(
arg1: DateType1 | number | string,
arg2: DateType2 | number | string,
)
| 127 | |
| 128 | it("allows dates to be of different types", () => { |
| 129 | function _test<DateType1 extends Date, DateType2 extends Date>( |
| 130 | arg1: DateType1 | number | string, |
| 131 | arg2: DateType2 | number | string, |
| 132 | ) { |
| 133 | formatRelative(arg1, arg2); |
| 134 | } |
| 135 | }); |
| 136 | |
| 137 | it("normalizes the dates", () => { |
nothing calls this directly
no test coverage detected