You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The npm package auth0's ManagementClient instance has client.organizations namespace with several methods already implemented but are not documented and typescript typedefs are not defined in @types/auth0 package.
What was the expected behavior?
Installing @types/auth0 would have definitions for ManagementClient.organizations such as
Detail the steps taken to reproduce this error, and whether this issue can be reproduced consistently or if it is intermittent. Note: If clear, reproducable steps or the smallest sample app demonstrating misbehavior cannot be provided, we may not be able to follow up on this bug report.
Where possible, please include:
The smallest possible sample app that reproduces the undesirable behavior
Currently types are not maintained in this library. They are maintained over in DefinitelyTyped. We are tracking the overall issue of type inconsistencies at #572
Describe the problem
The npm package
auth0
'sManagementClient
instance hasclient.organizations
namespace with several methods already implemented but are not documented and typescript typedefs are not defined in@types/auth0
package.What was the expected behavior?
Installing
@types/auth0
would have definitions forManagementClient.organizations
such asclient.organizations.getAll({ include_totals: boolean, page: number, take: number, from: string, per_page: number })
client.organizations.getByID({ id: string })
client.organizations.delete({ id: string })
client.organizations.getByName({ name: string })
Reproduction
auth0
from npm vianpm install auth0 --save
@types/auth0
package from npm vianpm install @types/auth0 --save-dev
ManagementClient
organizations
namespace onManagementClient
instance.Environment
auth0 - 2.35.1
,@types/auth0 - 2.33.4
nestjs
@types/auth0
The text was updated successfully, but these errors were encountered: