-
Notifications
You must be signed in to change notification settings - Fork 67
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
[BUG]: The inferred type of 'octokit' cannot be named without a reference to xxxx #282
Comments
Can share the output of |
Can you also share you |
hi @wolfy1339 thanks, here is my tsconfig.json
Since I'm using pnpm instead of yarn, so |
Is there anything else in the output of I was expecting to see a tree view of the dependencies and their versions |
@wolfy1339 Is this information enough?
|
Thank you that is exactly what I was looking for |
Do you have a code snippet that you can share? |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
I can't reproduce this issue at all
Interestingly,
|
yes because tsc think |
I see the proper types, yes |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
That's unrelated to this issue though, and is known, and being worked on The published package was released after this issue was opened |
@yiliang114 Can you share a minimal repro? any sample code that you can post. You can use the TypeScript Playground to share code and your |
Closing due to no response, and unable to reproduce |
I have the same issue
Parts of yarn lock file
The Typescript build error:
ContextAll of my Octokit calls to: "getReleaseByTag", "listReleases", "getLatestRelease" and "users.getAuthenticated" have this typing issue. |
I will provide more context. The PR which showed this build issue had the following yarn lock changes:
With yarn integrity/urls:
|
What happened?
tsc build error.
Versions
19.0.7
my typescript version is 5.0.3
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: