()
| 766 | |
| 767 | // @ts-expect-error |
| 768 | const callbackTest: SuccessCallback = () => |
| 769 | queryClient.setQueryData(key, (data) => { |
| 770 | expectTypeOf(data).toEqualTypeOf<number | undefined>() |
| 771 | return data |
| 772 | }) |
| 773 | }) |
| 774 | |
| 775 | it('should infer types correctly with block body arrow functions', () => { |
nothing calls this directly
no test coverage detected