CacheControl / CacheControl/json-rules-engine

Rule Ts incorrect

Ouverte
#253 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
3.1k
Forks
507
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.