(mutation)
| 940 | expectTypeOf( |
| 941 | queryClient.isMutating<MutationFilters<TypedData, TypedError>>({ |
| 942 | predicate(mutation) { |
| 943 | expectTypeOf(mutation).toEqualTypeOf< |
| 944 | Mutation<TypedData, TypedError> |
| 945 | >() |
| 946 | expectTypeOf(mutation.state.data).toEqualTypeOf< |
| 947 | TypedData | undefined |
| 948 | >() |
| 949 | expectTypeOf( |
| 950 | mutation.state.error, |
| 951 | ).toEqualTypeOf<TypedError | null>() |
| 952 | return true |
| 953 | }, |
| 954 | }), |
| 955 | ).toEqualTypeOf<number>() |
| 956 | }) |
nothing calls this directly
no outgoing calls
no test coverage detected