intuit / oauth-jsclient

Intuit's NodeJS OAuth client provides a set of methods to make it easier to work with OAuth2.0 and Open ID
https://developer.intuit.com/
Apache License 2.0
121 stars 156 forks source link

add typescript sample project #57

Closed efredin closed 4 years ago

efredin commented 4 years ago

I've restructured the /sample folder to include a javascript and typescript folder.

I did find a couple of issues with the initial typings definitions. If you choose not to keep the typescript sample as part of the project, we'll want to pull those out into a separate PR.

In order to test the typings locally from the sample project you'll need to link the intuit-oauth package with yarn or npm.

# Link local intuit-oauth branch with typings support to sample typescript project
yarn link
cd sample/typescript
yarn link intuit-oauth
abisalehalliprasan commented 4 years ago

@efredin This is good 👏 💯