Our great sponsors
-
proposal-record-tuple
ECMAScript proposal for the Record and Tuple value types. | Stage 2: it will change!
The underlying problem is that JavaScript has poor support for data. Data structures should have immutable definitions and not be extendable (no inheritance). We use Objects to store data because we have no other choice. The Records and Tuples proposal should give us more options hopefully.
-
Rather than calling it "broken", you might identify additional reasons why it must be that way, such as TS lacking exact types (which could prevent extra keys via structural compatibility) and lacking sealed classes (which could prevent extra keys from inheritance).
-
Appwrite
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
Related posts
- Future Javascript: Records and Tuples
- Typescript says object is possibly 'undefined' for an object property, even after checking/narrowing if the property exists.
- All I Want for Christmas Is These Seven TypeScript Improvements
- Why does Typescript allow additional fields but not missing fields in return value type?
- How to type hex colors in typescript ?