Our great sponsors
-
proposal-record-tuple
ECMAScript proposal for the Record and Tuple value types. | Stage 2: it will change!
-
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.
While I understand the motivation for this design, I do feel in practice it ends up being one of the biggest pain points in TS. In reality, you very often know exactly which keys will be present. Those cases require a great deal of ceremony and/or casting. If some version of the Exact types proposal were implemented, IMO it would be the biggest feature in years.
I suspect considering the strong desire to maintain consistency with JavaScript, we will eventually see something that when the Record proposal passes through tc39