From d088a484db72c18d22e4a68a4126a23d98cdbd36 Mon Sep 17 00:00:00 2001 From: goenning Date: Mon, 27 Dec 2021 12:10:12 +0000 Subject: [PATCH] add import to example Signed-off-by: goenning --- plugins/tech-insights-backend-module-jsonfc/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/tech-insights-backend-module-jsonfc/README.md b/plugins/tech-insights-backend-module-jsonfc/README.md index 6703f4b9f9..aab57fae91 100644 --- a/plugins/tech-insights-backend-module-jsonfc/README.md +++ b/plugins/tech-insights-backend-module-jsonfc/README.md @@ -91,6 +91,8 @@ export const exampleCheck: TechInsightJsonRuleCheck = { json-rules-engine supports a limited [number of built-in operators](https://github.com/CacheControl/json-rules-engine/blob/master/docs/rules.md#operators) that can be used in conditions. You can add your own operators by adding them to the `operators` array in the `JsonRulesEngineFactCheckerFactory` constructor. For example: ```diff ++ import { Operator } from 'json-rules-engine'; + const myFactCheckerFactory = new JsonRulesEngineFactCheckerFactory({ checks: [], logger,