title: Type-error clientsettings.userStore is not a function with ng-oidc-client JS lib
body: <p>I am using the ng-oidc-client package to integrate my auth server with an angular Website. Note I am using Angular 7 and latest version of node. </p>
  
  <p>The version of ng-oidc-client is 1.0.5, which is fairly latest. the peer dependencies of this library are also latest. Upon running, I get the below error which mostly to me looks like a incompatibility issue. </p>
  
  <p><a href="https://i.stack.imgur.com/W9HBZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/W9HBZ.png" alt="Error"></a></p>
  
  <p>Code snippet - 
  This is the code from my appModule.ts where the oidc client module config is set up - </p>
  
  <pre><code>NgOidcClientModule.forRoot({
          oidc_config: {
            authority: 'https://xxxxx.com.au/authentication',
            client_id: 'Paystay.localwebsite',
            userStore: new WebStorageStateStore({ store: window.localStorage }),
            redirect_uri: 'https://localhost:4200/callback.html',
            response_type: 'id_token',
            scope: 'openid profile',
            post_logout_redirect_uri: 'https://localhost:4200/signout-callback.html',
            silent_redirect_uri: 'https://localhost:4200/renew-callback.html',
            accessTokenExpiringNotificationTime: 60,
            automaticSilentRenew: true,
          },
          log: {
            logger: console,
            level: Log.NONE
          }
      }),
  </code></pre>
  
  <p>Please note that I have masked the Authority URI here.
  Rest of the code is pretty standard for integrating this client on Angular 2 which i followed from this link - <a href="https://www.npmjs.com/package/ng-oidc-client" rel="nofollow noreferrer">https://www.npmjs.com/package/ng-oidc-client</a></p>
  
  <p>Update - The issue seems to be not there with version 1.0.0 of the lib. I have raised a issue with the author and waiting for the response.</p>