Closed ceremonious closed 3 years ago
Thanks for the report. I'll take a look at this later today (maybe tonight).
We should be erasing those input types. Actually it might be beneficial to try to alias to an explicit library type.
@ceremonious I've just pushed version 2.0.1, which should fix the types.
Thank you!
Let me know if you have any further issues
Hi, thank you for creating this library! I saw that you released v2 right as I was looking to integrate Auth0 & Electron.
I'm getting a type error when trying to call getToken() because I'm not passing in any arguments.
The library seems to be generating the following types for the auth object (This is the index.d.ts file in node_modules/electron-auth0-login/dist):