TypeScript 4.3 brings type specification for properties

TypeScript 4.3, the latest version of Microsoft’s typed superset of JavaScript, is now available as a production release. The upgrade 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.To read this article in full, please click here

Nov 30, -0001 - 00:00
 0
TypeScript 4.3 brings type specification for properties
Techatty All-in-1 Publishing
Techatty All-in-1 Publishing

TypeScript 4.3, the latest version of Microsoft’s typed superset of JavaScript, is now available as a production release. The upgrade 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.

To read this article in full, please click here

Techatty Connecting the world of tech differently! Read. Write. Learn. Thrive. Make an informed decision without distractions. We are building tech media and publication networks to connect YOU and everyone to reliable information, opportunities, and resources to achieve greater success.