auth0 / auth0-spa-js

Auth0 authentication for Single Page Applications (SPA) with PKCE
MIT License
903 stars 357 forks source link

Export Auth0Client typing #157

Closed jcmoore0 closed 5 years ago

jcmoore0 commented 5 years ago

Hi Auth Team - I would like to be able to import the Auth0Client like this (standard practice)

import createAuth0Client, { Auth0Client } from '@auth0/auth0-spa-js';

Would you please add to src/index.d.ts?

export { Auth0Client} 

Auth0Client is imported but not exported in src/index.d.ts. Thanks for the help.

luisrudge commented 5 years ago

closing for this reason: https://github.com/auth0/auth0-spa-js/pull/159#issuecomment-522601580