CacheControl / CacheControl/json-rules-engine
Add autocomplete for operator
Abierto
- Lenguaje dominante
- JavaScript
- Estrellas
- 3.1k
- Forks
- 507
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
To avoid mistakes it would be great to have operator autocomplete in types.
We could either just use a union type and then allow also for any string to account for custom operators, or we could be strict and pair each operator with its corresponding value (e.g. `lessThan` needs a `value: number`, and we could document them so users know how to extend that with their custom types.
If there is interest in this I'd be happy to contribute the PR.
Thanks in advance.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.