How do I cast the type of a eb.fn('...') ?

I tried with eb.fn<string>("CONCAT", [....]) but it didn't worked
Solution
If it doesn't work for some reason, you can use

eb.fn('now', []).$castTo<Date>()
Was this page helpful?