Something went wrong. Try again.
fork of hey-api/openapi-ts because I need some additional things
Something went wrong. Try again.
fix: forward TResponse generic through SDK Options type for SSE endpoints master
The onSseEvent callback was typed as StreamEvent<unknown> because the response type was never threaded through the generated Options type on the non-Nuxt path. This adds a TResponse generic to the SDK Options type alias and forwards it to the client Options, then passes the unwrapped response type for SSE endpoints so event.data is correctly typed. Closes #3463 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Author Martín Fernández Co-author Claude Opus 4.6 Date (Mar 30, 2026, 1:02 PM UTC) Commit c9c11aeb c9c11aeb5e5f7d6a445ac3c5ac9bb63a768d3200 Parent 0d2b8eca 0d2b8ecae8aba2655dde38e4d77518d7f751fbb2