The rule.js recently refactored the rule.event property to rule.ruleEvent (80e84b3) but there were no corresponding updates to the types when using the types accessing the property directly does not work as expected.
Should the type use rule.ruleEvent or should it use accessors for the event?
js & ts are not my speciality but i think the 'event' property of the interface needs to have a get function & set function that are actually the getEvent and setEvent functions.
The
rule.jsrecently refactored therule.eventproperty torule.ruleEvent(80e84b3) but there were no corresponding updates to the types when using the types accessing the property directly does not work as expected.Should the type use
rule.ruleEventor should it use accessors for the event?js & ts are not my speciality but i think the 'event' property of the interface needs to have a
get function&set functionthat are actually thegetEventandsetEventfunctions.