()
| 611 | |
| 612 | // @ts-expect-error |
| 613 | const callbackTest: SuccessCallback = () => |
| 614 | queryClient.setQueryData(key, (data) => { |
| 615 | expectTypeOf(data).toEqualTypeOf<number | undefined>() |
| 616 | return data |
| 617 | }) |
| 618 | }) |
| 619 | |
| 620 | it('should infer types correctly with block body arrow functions', () => { |
nothing calls this directly
no test coverage detected