Commit f0afd43
fix(types): restore return types and model returned sub-objects
Regenerated from the improved emitter:
- Methods that return a known object are typed as that object instead of
`any` (verified against source) — sessions/checkouts/batches return their
own class, stream factories return their stream class, etc.
- Objects the README documents under their own receiver (a server, socket,
message, extension, or the autobase apply `host`) are now modeled as helper
classes and wired to the method/callback that produces them, instead of
being dropped.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent c866766 commit f0afd43
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| |||
0 commit comments