Commit c957bff
committed
fix: resolve Vue template TypeScript errors for useQuery
- Add intersection type to UseQueryMethod return type for template
compatibility
- Enable direct property access in Vue templates (data.title,
error.message)
- Maintain Vue Query v5 compatibility while improving TypeScript
experience
- Fix issues with noUncheckedIndexedAccess strict configuration1 parent cd12103 commit c957bff
File tree
2 files changed
+15
-1
lines changed- .changeset
- packages/openapi-vue-query/src
2 files changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
114 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
115 | 119 | | |
116 | 120 | | |
117 | 121 | | |
| |||
0 commit comments