json-logic-js
json-logic-js copied to clipboard
Document TypeScript support in Readme
Fixes https://github.com/jwadhams/json-logic-js/issues/108
This PR explains that TypeScript definitions can be installed. Additionally, it shows an example of how to import JSON Logic into a TypeScript file.
I searched around for examples of how other libs explain TypeScript support, and I was surprised to not find much. I am probably not looking in the right place.
However, I did find this example: https://github.com/luin/ioredis#quick-start.