panva / openid-client

OAuth 2 / OpenID Connect Client API for JavaScript Runtimes
MIT License
1.83k stars 392 forks source link

fix(typescript): requestResource returns a Promise #546

Closed roemba closed 1 year ago

roemba commented 1 year ago

As I had also encountered the issue described in https://github.com/panva/node-openid-client/issues/488 and I saw that @panva requested a pull request, I hereby made a pull request fixing the issue.

Please let me know if you have any comments or feedback on the changes, I'll be happy to incorporate them.

panva commented 1 year ago

@roemba thank you