json-rules-engine
json-rules-engine copied to clipboard
A rules engine expressed in JSON
I am using these params to create a rule. When rule is failing I want it to return currentValue by resolving fact **documentsCount** . Although It is resolving this fact...
I'm the author of [react-rules](https://github.com/rafenden/react-rules), some users of [json-rules-engine](https://github.com/rafenden/react-rules) might find it useful.
The params property in fact and event, support an array of [Record](https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type). I've updated the Typescript type of params. I've moved the type into _TParams_, which replaces _Record_