Generated typescript declaration for Auth0VueClient.user
and Auth0VueClient.idTokenClaims
is incorrect regarding undefined
#237
Labels
bug
This points to a verified bug in the code
Checklist
Description
The type declaration bundled with the code on npm contains incorrect typings for
Auth0VueClient.user
andAuth0VueClient.idTokenClaims
.Here's an excerpt of the code which I found in the package downloaded from npm:
But according to what I see here in the repo (https://github.com/auth0/auth0-vue/blob/main/src/interfaces/auth0-vue-client.ts), both of them should be a
Ref
also allowingundefined
as value.Reproduction
@auth0/auth0-vue
in version2.2.0
.user
andidTokenClaims
on the interfaceAuth0VueClient
.Additional context
-/-
auth0-vue version
2.2.0
Vue version
3.3.4
Which browsers have you tested in?
Other
The text was updated successfully, but these errors were encountered: