-
Notifications
You must be signed in to change notification settings - Fork 380
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
Error in google-gax/build/src/clientInterface.d.ts 7.13.0 #1370
Comments
This part of code is breaking my build. 10 hours ago the build stopped working.
Error that I am getting:
Another related issue: UPD: |
I have been provisionally solved by changing the package.json, forcing a previous version, if you imply it, it Elemina the package-lock.json and performs an NPM i again.
If you did not have Google-Auth-Library at the package.json, include it with version 7.11.0 to force that it does not charge the ultra update that is the one that carries the error PD: Excuse my English, I'm using Google Translator |
@fjrdguez @dimavedenyapin @fjrdguez If you install |
This appears to happen in 7.14.0 as well. Reverting to 7.12.0 fixed it for me. Looks like 7.14.0 was released by a bot. Has the underlying issue been fixed? |
interface ClientOptions exteds by GrpcClientOptions and GoogleAuthOptions.
GrpcClientOptions has a optional property auth of type GoogleAuth
but
GootleAuthOptions has a optional property auth of type AuthClient
when transpile crash:
node_modules/google-gax/build/src/clientInterface.d.ts:7:18 - error TS2320: Interface 'ClientOptions' cannot simultaneously extend types 'GrpcClientOptions' and 'GoogleAuthOptions'.
Named property 'auth' of types 'GrpcClientOptions' and 'GoogleAuthOptions' are not identical.
7 export interface ClientOptions extends GrpcClientOptions, GoogleAuthOptions, ClientStubOptions {
~~~~~~~~~~~~~
node_modules/google-gax/build/src/grpc.d.ts:24:18 - error TS2430: Interface 'GrpcClientOptions' incorrectly extends interface 'GoogleAuthOptions'.
Types of property 'auth' are incompatible.
Type 'GoogleAuth' is missing the following properties from type 'AuthClient': on, credentials, eagerRefreshThresholdMillis, forceRefreshOnFailure, and 16 more.
24 export interface GrpcClientOptions extends GoogleAuthOptions {
~~~~~~~~~~~~~~~~~
[20:46:22] Found 2 errors. Watching for file changes.
best regards, Paco Rodriguez
The text was updated successfully, but these errors were encountered: