we now have tagged template functions in rescript v11.1.
But we still have no semantics around classes and I don’t think we have any plans for that. The best solution likely to follow DZakh’s advice, create a function factory in JS and write bindings to it.