CacheControl / CacheControl/json-rules-engine

Rule Ts incorrect

Aperta
#253 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
3.1k
Fork
507
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The `rule.js` recently refactored the `rule.event` property to `rule.ruleEvent` (80e84b3ada7df7fca20aba21e37d8b5ee4257023) 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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.