liquidjs
liquidjs copied to clipboard
All render methods return `any` or `Promise<any>`
Hi there! Thank you for maintaining this project!
I'm a newcomer and I'm trying to add liquidjs as an engine to hypergen before it's official release. The problem is that all render methods return any. Should I expect them to return anything other than a string? If so, what can they return?
Thanks is advance!
It’s for keepOutputType, when set and only one token is rendered. We can improve typing by overloading I guess.
I am happy with exposing additional types :)
I would really appreciate that! It would make things a lot easier for newcommers