refactor(optim): start to support basic mecanisms + tests #173
Annotations
3 errors
main:
source/serializeParsedRules.ts#L120
Argument of type 'ASTNode<"unité" | "rule" | "replacementRule" | "reference" | "arrondi" | "barème" | "durée" | "grille" | "est non applicable" | "est non défini" | "inversion" | "operation" | "une possibilité" | ... 8 more ... | "texte"> | ASTNode<...>[]' is not assignable to parameter of type 'ASTNode<"unité" | "rule" | "replacementRule" | "reference" | "arrondi" | "barème" | "durée" | "grille" | "est non applicable" | "est non défini" | "inversion" | "operation" | "une possibilité" | ... 8 more ... | "texte">'.
|
main:
source/serializeParsedRules.ts#L130
Argument of type 'ASTNode<"unité" | "rule" | "replacementRule" | "reference" | "arrondi" | "barème" | "durée" | "grille" | "est non applicable" | "est non défini" | "inversion" | "operation" | "une possibilité" | ... 8 more ... | "texte"> | { ...; }' is not assignable to parameter of type 'ASTNode<"unité" | "rule" | "replacementRule" | "reference" | "arrondi" | "barème" | "durée" | "grille" | "est non applicable" | "est non défini" | "inversion" | "operation" | "une possibilité" | ... 8 more ... | "texte">'.
|
main
Process completed with exit code 1.
|