(
arg: DateArg<DateType>,
options?: ContextOptions<ResultDate>,
)
| 35 | |
| 36 | it("doesn't enforce argument and context to be of the same type", () => { |
| 37 | function _test<DateType extends Date, ResultDate extends Date = DateType>( |
| 38 | arg: DateArg<DateType>, |
| 39 | options?: ContextOptions<ResultDate>, |
| 40 | ) { |
| 41 | isToday(arg, { in: options?.in }); |
| 42 | } |
| 43 | }); |
| 44 | }); |
| 45 | }); |