flitbit / json-ptr

A complete implementation of JSON Pointer (RFC 6901) for nodejs and modern browsers.
MIT License
93 stars 28 forks source link

TS misc improvements #18

Closed treybrisbane closed 4 years ago

treybrisbane commented 4 years ago

This PR makes some misc. improvements to the WIP TypeScript version of the library. 🙂

I made an effort to avoid changing runtime semantics, although I did end up changing some very minor things in this area in order to fix some type-related issues. There are definitely more opportunities for refactor and cleanup, but I considered them outside the scope of this PR.

The commits are all fairly atomic and small, so if the overall diff is difficult to review, looking at the commits individually may be easier. 🙂