Closed Xheldon closed 8 months ago
👋 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 Status: Up for grabs
. You & others like you are the reason all of this works! So thank you & happy coding! 🚀
This is normal as the endpoint can return an array of objects depending on the media type.
What happened?
The type of 'data' field in OctokitResponse type is an object but type hinting show it's an array, as a result, I received a type error: 'sha' does not exist on the 'data' type.
see the image:
Versions
"octokit": "^3.1.2" node -v v18.16.0
Relevant log output
Code of Conduct