(
arg: DateType | number | string,
options?: ContextOptions<ResultDate>,
)
| 43 | |
| 44 | it("doesn't enforce argument and context to be of the same type", () => { |
| 45 | function _test<DateType extends Date, ResultDate extends Date = DateType>( |
| 46 | arg: DateType | number | string, |
| 47 | options?: ContextOptions<ResultDate>, |
| 48 | ) { |
| 49 | isThisHour(arg, { in: options?.in }); |
| 50 | } |
| 51 | }); |
| 52 | }); |
| 53 | }); |
nothing calls this directly
no test coverage detected