April 7, 2021

TypeScript 4.3 supports type specification for properties

TypeScript 4.3, a planned upgrade to Microsoft’s typed superset of JavaScript, allows developers to specify types for reading and writing to properties.

This type specification enhancement addresses a situation in which modeling APIs that convert values in TypeScript has required picking between “being precise” and “being permissive.” By being precise, developers could make reading values easier but writing them harder. By being permissive, they could make writing values easier but reading harder.

TypeScript 4.3 is available in beta release as of April 1. A release candidate is due on  May 11, and the production release on May 25.

To read this article in full, please click here


Leave Comment


Your Name *
Your Email *
Your Website
Comment *