Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@types/auth0 - add generics #49988

Closed
aaronadamsCA opened this issue Dec 7, 2020 · 1 comment
Closed

@types/auth0 - add generics #49988

aaronadamsCA opened this issue Dec 7, 2020 · 1 comment

Comments

@aaronadamsCA
Copy link

https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/auth0/index.d.ts

It's been 4 years since @wbhob created most of these types, and at this point they would really benefit from some simple generics for many of the any types throughout.

I am too busy/new to try adding this myself right now, but I wanted to open an issue to track it.

getProfile would be a good place to start, I think this might be all that's needed:

getProfile<T = any>(accessToken: string): Promise<T>;
@orta orta closed this as completed Jun 7, 2021
@orta
Copy link
Collaborator

orta commented Jun 7, 2021

Hi thread, we're moving DefinitelyTyped to use GitHub Discussions for conversations the @types modules in DefinitelyTyped.

To help with the transition, we're closing all issues which haven't had activity in the last 6 months, which includes this issue. If you think closing this issue is a mistake, please pop into the TypeScript Community Discord and mention the issue in the definitely-typed channel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants