Commit 320cf9b
fix(query-core): fix context type error in
* fix(query-core): fix context type error in `onSuccess`
* docs(query-core): update `useMutation` documentations
* fix(query-core): the `context` should not be inferred as `undefined` when `TContext` is defined
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>onSuccess (#6355)1 parent c38c1cb commit 320cf9b
File tree
4 files changed
+11
-21
lines changed- docs/react/reference
- packages/query-core/src
4 files changed
+11
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
147 | 150 | | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
| 151 | + | |
| 152 | + | |
159 | 153 | | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
| 154 | + | |
165 | 155 | | |
166 | 156 | | |
167 | 157 | | |
168 | | - | |
169 | | - | |
| 158 | + | |
| 159 | + | |
170 | 160 | | |
171 | 161 | | |
172 | 162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
671 | 671 | | |
672 | 672 | | |
673 | 673 | | |
674 | | - | |
| 674 | + | |
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
| |||
0 commit comments