| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks for submitting the PR! It's a good start. If you want to I can make the below changes, or you can take a shot at them:
Sorry, something went wrong.
|
I believe I have found a way to support both the legacy callback-based API and the newer promise-based one.
|
Sorry, something went wrong.
|
Sorry for the delay, I do intend on getting to this eventually. |
Sorry, something went wrong.
|
The problem with trying to support both approaches is that the typing doesn't work out. If you use .then typescript complains because the return value might not be a promise. There might be some fancy typescript syntax for solving this, but I'm just going to simplify and remove the callback option for the next major release. I'm presuming that's fine? |
Sorry, something went wrong.
|
I'm going to merge this in, publish as v4 so you have your changes, and then make some changes I want to make w/ a v5 release. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
that's my humble attempt to solve issue #77
thanks for making and maintaining this repo