From 3f449b7dbb86b1fb2dcc604703694139901610c3 Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Thu, 3 Dec 2020 17:55:56 +0100 Subject: [PATCH] corrige un type --- publicodes/source/mecanisms/situation.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/publicodes/source/mecanisms/situation.tsx b/publicodes/source/mecanisms/situation.tsx index eeedcca94..5bfa14401 100644 --- a/publicodes/source/mecanisms/situation.tsx +++ b/publicodes/source/mecanisms/situation.tsx @@ -1,5 +1,4 @@ import { isEmpty } from 'ramda' -import { EvaluatedRule } from '..' import { ASTNode, EvaluatedNode } from '../AST/types' import { InfixMecanism } from '../components/mecanisms/common' import { makeJsx, mergeAllMissing } from '../evaluation' @@ -61,7 +60,7 @@ registerEvaluationFunction(parseSituation.nom, function evaluate(node) { const missingVariables = mergeAllMissing( [explanation.situationValeur, explanation.valeur].filter( Boolean - ) as Array + ) as Array ) return { ...node,