You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling and awaiting the client.textToSpeech.convert infers the type stream.Readable. However logging the runtime value (at least in Node >= 18) shows the value is actually:
Which does not type check against the Readable class as defined by @types/node, for instance:
/**
* Is `true` if it is safe to call {@link read}, which means
* the stream has not been destroyed or emitted `'error'` or `'end'`.
* @since v11.4.0
*/
readable: boolean;
is undefined.
The text was updated successfully, but these errors were encountered:
Hey @dsinghvi, could you advise on the next steps to ensure that the .convert response type is generated as a web-standard ReadableStream? Would this require a change on the Fern side of things, or is there something we can adjust in our OpenAPI definition or SDK generation process to fix it?
Calling and awaiting the
client.textToSpeech.convert
infers the typestream.Readable
. However logging the runtime value (at least in Node >= 18) shows the value is actually:Which does not type check against the
Readable
class as defined by@types/node
, for instance:is undefined.
The text was updated successfully, but these errors were encountered: