New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Response types don't account for parseSuccessResponseBody
#606
Comments
👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labled with |
parseSuccessResponseBody
***
Here is the magic required to stream release assets to a file using rest.js, typescript, and async/await:parseSuccessResponseBody
parseSuccessResponseBody
parseSuccessResponseBody
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: