Angular 4 monorepo with shared AuthService

Hello,

I am making an Angular Monorepo with multiple SPAs and would like to use a shared AuthService (from the Quickstart Guide) to keep my code DRY. When compiling my shared library I am encountering a large number of errors relating to not finding types. As an example:

ERROR in ../../node_modules/@auth0/auth0-spa-js/dist/typings/Auth0Client.d.ts:11:26 - error TS2304: Cannot find name 'Auth0ClientOptions'.

11     constructor(options: Auth0ClientOptions);

I have found these types in the node_modules folder under '@auth0/auth0-spa-js/dist/typings/global.d.ts' however these are not being imported into Auth0Client.d.ts.

Any help on getting this library up and running would be appreciated.