You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
youtube-synch$ yarn build
src/services/youtube/api.ts:90:37 - error TS2322: Type 'OAuth2Client' is not assignable to type 'string | GoogleAuth | OAuth2Client | BaseExternalAccountClient | undefined'.
Type 'import("/home/l1media/youtube-synch/node_modules/google-auth-library/build/src/auth/oauth2client").OAuth2Client' is not assignable to type 'import("/home/l1media/youtube-synch/node_modules/googleapis-common/node_modules/google-auth-library/build/src/auth/oauth2client").OAuth2Client'.
Types have separate declarations of a private property 'redirectUri'.
90 return new youtube_v3.Youtube({ auth })
~~~~
node_modules/googleapis-common/build/src/api.d.ts:24:5
24 auth?: GoogleAuth | OAuth2Client | BaseExternalAccountClient | string;
~~~~
The expected type comes from property 'auth' which is declared here on type 'GlobalOptions'
Found 1 error.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: