Conversation
This adds support for typed methods, by generating endpoint and method types. This is largely taken from scripts in "@octokit/plugin-rest-endpoint-methods". As "@octokit/types" does not support GHEC types, we cannot import endpoint types directly. Instead, we generate them for this package from "@octokit/openapi-types-ghec".
|
👋 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 labeled with |
|
Bizarrely, I'm seeing a
plugin-enterprise-cloud.js/src/generated/parameters-and-response-types.ts Lines 204 to 208 in ed9bb18 However, it does exist! plugin-enterprise-cloud.js/src/generated/endpoints-types.ts Lines 236 to 242 in ed9bb18 |

This adds support for typed methods, by generating endpoint and method types. This is largely taken from scripts in @octokit/plugin-rest-endpoint-methods.
As @octokit/types does not support GHEC types, we cannot import endpoint types directly. Instead, we generate them for this package from @octokit/openapi-types-ghec.