json-logic-js icon indicating copy to clipboard operation
json-logic-js copied to clipboard

Document TypeScript support in Readme

Open josephdpurcell opened this issue 1 year ago • 0 comments

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.

josephdpurcell avatar Jan 22 '23 00:01 josephdpurcell