-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
You'd need 4 periods.
Its on the agenda for the next Ecma TC39 meeting.
When you type rest parameters simply as Function[], you won't be able to tell what is the type of a final expression because Function collapses that information. So the right thing to do is to get the type of each function and compose them together, which you have to do manually. See _.flow. And if you find last overload, you can see it uses rest parameter and its return type is any, which is sad.