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

add typescript types #27

Merged
merged 3 commits into from
Oct 10, 2019
Merged

add typescript types #27

merged 3 commits into from
Oct 10, 2019

Conversation

jbarrus
Copy link
Contributor

@jbarrus jbarrus commented Oct 8, 2019

By submitting a PR to this repository, you agree to the terms within the Auth0 Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.

Description

Adds typescript definitions to allow easier use with typescript projects.

References

https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html

Testing

Testing can be done by importing into a typescript project.

  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have added documentation for new/changed functionality in this PR or in auth0.com/docs
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used, if not master

@jbarrus jbarrus requested a review from a team October 8, 2019 04:25
@joshcanhelp
Copy link
Contributor

@jbarrus - Thank you so much for this! We'll take a look this week and get back to you with feedback or an approval.

Copy link
Contributor

@joshcanhelp joshcanhelp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have a few changes but looks great so far!

index.d.ts Show resolved Hide resolved
index.d.ts Outdated Show resolved Hide resolved
index.d.ts Outdated Show resolved Hide resolved
index.d.ts Outdated Show resolved Hide resolved
@joshcanhelp joshcanhelp mentioned this pull request Oct 10, 2019
3 tasks
Copy link
Contributor

@joshcanhelp joshcanhelp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jbarrus Thank you once again! We may need to tinker with this a bit down the road and we will likely switch this project to TS so we can use annotations but this was a great addition! 🎉

@joshcanhelp joshcanhelp merged commit 451a54e into auth0:master Oct 10, 2019
@joshcanhelp joshcanhelp added this to the v0.5.0 milestone Oct 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants