Open EPMatt opened 2 weeks 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 labeled with Status: Up for grabs
. You & others like you are the reason all of this works! So thank you & happy coding! 🚀
What does your tsconfig
look like?
What happened?
Starting from
@octokit/graphql-schema
v15.4.2
, importing theCommit
type as indicated in Schema as Types in README fails TypeScript compilation (usingts-node
) with the error'"@octokit/graphql-schema"' has no exported member 'Commit'
.The type is imported with the following statement:
Autocompletion in my IDE suggests to import the type like presented above.
Versions
The issue occurs on
@octokit/graphql-schema
starting fromv15.4.2
onwards.The issue is not present
v15.4.1
and earlier versions. https://github.com/octokit/graphql-schema/compare/v15.4.1...v15.4.2The failing script uses
ts-node
version10.8.1
.Relevant log output
Code of Conduct