Response types don't account for parseSuccessResponseBody
#606
Labels
Type: Bug
Something isn't working as documented, or is being fixed
parseSuccessResponseBody
#606
Yeah, the return type is a problem even without the streaming option too. TypeScript thinks it’s a normal shaped response object, but instead it returns an
ArrayBuffer
iirc.Originally posted by @amacneil in octokit/rest.js#12 (comment)
Here is the magic required to stream release assets to a file using rest.js, typescript, and async/await:
Originally posted by @amacneil in octokit/rest.js#12 (comment)
The text was updated successfully, but these errors were encountered: