Skip to content

Typings incorrectly suggest that Rule.conditions is a setter #419

Open
@emilefokkemanavara

Description

@emilefokkemanavara

Rule.conditions is described as being a setter, and is also used as such in one of the tests. But doing this and then running the engine leads to a RuleResult that, when JSON-stringified, will throw an error. (This is because a Rule expects its conditions to be an instance of Condition.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions