Commit 7074f50
committed
docs(changeset): Fix incorrect overload order in
ServiceOperationUseQuery and ServiceOperationUseInfiniteQuery interfaces. The overloads were swapped, causing TypeScript to incorrectly infer return types. Now the first overload correctly handles cases with initialData (returns DefinedUseQueryResult), and the second handles cases without it (returns UseQueryResult).1 parent 45dfa8f commit 7074f50
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments