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