google-cloud-node
google-cloud-node copied to clipboard
Impersonated of ProjectsClient is not assignable to authClient type
Please make sure you have searched for information in the following guides.
- [X] Search the issues already opened: https://github.com/GoogleCloudPlatform/google-cloud-node/issues
- [X] Search StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform+node.js
- [X] Check our Troubleshooting guide: https://googlecloudplatform.github.io/google-cloud-node/#/docs/guides/troubleshooting
- [X] Check our FAQ: https://googlecloudplatform.github.io/google-cloud-node/#/docs/guides/faq
- [X] Check our libraries HOW-TO: https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md
- [X] Check out our authentication guide: https://github.com/googleapis/google-auth-library-nodejs
- [X] Check out handwritten samples for many of our APIs: https://github.com/GoogleCloudPlatform/nodejs-docs-samples
A screenshot that you have tested with "Try this API".
this is the package error, so there is no screenshot about "Try this API".
Link to the code that reproduces this issue. A link to a public Github Repository or gist with a minimal reproduction.
https://github.com/yugo-ibuki/auth-type-error
A step-by-step description of how to reproduce the issue, based on the linked reproduction.
Impersonated function from google-auth-library is not assignable to JSONClient. so, type check by tsc fails.
A clear and concise description of what the bug is, and what you expected to happen.
Every time google-auth-library is updated, this error occurs. So, I should update yarn.lock. I think package version is not latest, but I didn't figure out the detail.
A clear and concise description WHY you expect this behavior, i.e., was it a recent change, there is documentation that points to this behavior, etc. **
Type check should pass, even if I update the package.