piotr-oles/rsql

Why aren't types and interfaces exported?

digeomel opened this issue · 2 comments

I'm trying to use the parser with an Angular/Typescript project and I'd like to convert the ExpressionNode returned by the parse method to my custom representation. However ExpressionNode is not exported in the module, nor do the other types.
I think it'd be great (and easy) if they did.

Types are exported in the @rsql/ast package: https://unpkg.com/@rsql/ast@1.5.1/dist/index.d.ts :)

I'm not an expert, but wouldn't @types/rsql be more appropriate? Anyway, I've marked this as closed.