async-postgres icon indicating copy to clipboard operation
async-postgres copied to clipboard

Convert project to TypeScript for strongly typed responses

Open okfro opened this issue 6 years ago • 0 comments

I forked this repo and converted it to TypeScript. I have mocked out most of the data models for the currently supported API calls, and I've enhanced a few of the APIs with additional methods.

I needed to be able to consume this via npm, so this also overlaps with #4. If accepted, I can unpublish my version and then consume this repo as soon as it is published.

The work isn't complete, as a number of APIs are not yet typed in their responses, but the bulk of the work is done. You can look at the repo: https://github.com/ns8inc/magento2-rest-client here.

If you would like, I can open a PR to merge the two. Some of the recent commits will require some work to ensure they make it over, but otherwise the TS version of this effort is working well so far.

okfro avatar Oct 01 '19 18:10 okfro