Single sign on 错误TS2322:类型';基本配置文件';不可分配给类型';谷歌用户';

Single sign on 错误TS2322:类型';基本配置文件';不可分配给类型';谷歌用户';,single-sign-on,google-identity,google-sso,Single Sign On,Google Identity,Google Sso,我的tsconfig.json 有 仍然得到这个错误吗 Property 'isSignedIn' is missing in type 'BasicProfile'. src/app/<folder>/src/app/pages/login-module/post-login.component.ts(1908,59): error TS2339: Property 'getEmail' does not exist on type 'GoogleUser'. src/app

我的tsconfig.json 有

仍然得到这个错误吗

Property 'isSignedIn' is missing in type 'BasicProfile'.

src/app/<folder>/src/app/pages/login-module/post-login.component.ts(1908,59): error TS2339: Property 'getEmail' does not exist on type 'GoogleUser'. 

src/app/<folder>/src/app/pages/login-module/post-login.component.ts(1976,64): error TS2339: Property 'getEmail' does not exist on type 'GoogleUser'. 
Cannot find namespace 'gapi'.ts(2503)
Public property 'authInstance' of exported class has or is using private name 'gapi'.ts(4031)
 "types": [
      "jquery",
      "mCustomScrollbar",
      "gapi.auth2",
      "gapi",
    ],