Download src/types/react-query.d.ts from SaylorTwift/openhands: direct link, hf CLI and curl.
- Browser
- Download file 594 Bytes
-
https://huggingface.co/SaylorTwift/openhands/resolve/main/src/types/react-query.d.ts
- Command line
-
hf download hf://SaylorTwift/openhands/src/types/react-query.d.ts
-
curl -L -o react-query.d.ts https://huggingface.co/SaylorTwift/openhands/resolve/main/src/types/react-query.d.ts
594 Bytes
| import "@tanstack/react-query"; | |
| import type { AxiosError } from "axios"; | |
| interface MyMeta extends Record<string, unknown> { | |
| disableToast?: boolean; | |
| /** | |
| * When set on a query that targets a specific local backend, a successful | |
| * fetch automatically clears that backend's failure counter in the health | |
| * store — re-arming the status dot without requiring the user to edit the | |
| * backend's config. | |
| */ | |
| backendId?: string; | |
| } | |
| declare module "@tanstack/react-query" { | |
| interface Register { | |
| defaultError: AxiosError; | |
| queryMeta: MyMeta; | |
| mutationMeta: MyMeta; | |
| } | |
| } | |