TypeScript 4.5, Function Overloading, Const Enums

TypeScript Weekly

Issue #181 — November 25, 2021

Announcing TypeScript 4.5

TypeScript 4.5 has been released! It implements the Awaited type which improves promise typing, introduces a way to override a specific built-in lib in a manner similar to how @types/ support works, and, as always, ships with many other improvements.

Daniel Rosenwasser

Function Overloading in TypeScript

Some JavaScript functions accept a variable number of arguments, or arguments of different types; some functions even return different types, depending on how they are invoked. TypeScript’s function overloads allow us to model this behavior in the type system.

TypeScript Engineer at Fully Remote US Consultancy (React, Node)

Join Uplift and work on a variety of projects using the latest technologies. Build web and mobile apps using TypeScript, React, Node, GraphQL. Interact directly with our clients and enjoy a flexible schedule to maximize your work-life balance.

Uplift Ltd (sponsored)

Optimizing Enums in TypeScript with const

A brief overview of how the const modifier changes the JavaScript code that the TypeScript compiler will emit for a given enum.

Todd Motto

Quokka.js: Quickly test your TypeScript code on the fly

Quokka allows you to test your TypeScript code without leaving your code editor, results are displayed right next to your code and updated immediately, as you type. Highly recommended for any TS/JS developer, especially for those learning the basics.

Wallaby Team (sponsored)

TypeScript vs. JSDoc JavaScript

TypeScript has long had a good static typing story. Thanks to TypeScript support for JSDoc, JavaScript can be statically type checked as well.

John Reilly

Older messages

How the Compiler Compiles, Mastering Template Literal Types

Friday, November 12, 2021

TypeScript Weekly Issue #180 — November 11, 2021 How the TypeScript Compiler Compiles A systems-level look at the TypeScript compiler: how it converts a file into an intermediate representation, checks

TypeScript 4.5 RC, Type or Treat Challenges

Friday, November 5, 2021

TypeScript Weekly Issue #179 — November 4, 2021 Announcing TypeScript 4.5 RC The release candidate of TypeScript 4.5 has been released. It implements the Awaited type which improves promise typing,

Sharing Types Between Repos, Index Signatures

Thursday, September 23, 2021

TypeScript Weekly Issue #178 — September 23, 2021 Sharing Types between Backend and Frontend Repos How to keep TypeScript types in sync between a backend and frontend project in different repos, using

TypeScript 4.4, In Defense of any

Thursday, September 16, 2021

TypeScript Weekly Issue #177 — September 16, 2021 Announcing TypeScript 4.4 TypeScript 4.4 has been released and brings control flow analysis of aliased conditions, a new flag for exact optional

TypeScript 4.4 RC, The First TypeScript Demo

Thursday, August 19, 2021

TypeScript Weekly Issue #176 — August 19, 2021 Announcing TypeScript 4.4 RC The release candidate of TypeScript 4.4 is out and brings control flow analysis of aliased conditions, a new flag for exact

You Might Also Like

Charted | Global Economic Confidence in 2025, by Country 🌎

Wednesday, December 25, 2024

While emerging markets in Asia have the strongest confidence in the global economy looking ahead, European countries are most pessimistic. View Online | Subscribe | Download Our App FEATURED STORY

Top Tech Deals 🎅 Sony Headphones, iPhone Cases, 4K Projector, and More!

Wednesday, December 25, 2024

The season of giving is upon us. How-To Geek Logo December 25, 2024 Top Tech Deals: Sony Headphones, iPhone Cases, 4K Projector, and More! The season of giving is upon us. Happy Holidays! If you're

Why the Race to AGI is Humanitys Defining Moment

Wednesday, December 25, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 25, 2024? The

Iran's Charming Kitten Deploys BellaCPP: A New C++ Variant of BellaCiao Malware

Wednesday, December 25, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest

Software Testing Weekly - Issue 251

Wednesday, December 25, 2024

GitHub Copilot is free! 🤖 View on the Web Archives ISSUE 251 December 25th 2024 COMMENT Welcome to the 251st issue! In case you missed it — GitHub Copilot is free! The free version works with Visual

Daily Coding Problem: Problem #1647 [Medium]

Tuesday, December 24, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Square. In front of you is a row of N coins, with values v 1 , v 1 , ..., v n . You are

Sentiment Analysis, Topological Sort, Web Security, and More

Tuesday, December 24, 2024

Exploring Modern Sentiment Analysis Approaches in Python #661 – DECEMBER 24, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Exploring Modern Sentiment Analysis Approaches in Python What are the

🤫 Do Not Disturb Mode Is My Secret to Sanity — 8 Gadgets I Want To See Nintendo Make

Tuesday, December 24, 2024

Also: The Best Christmas Movies to Watch on Netflix, and More! How-To Geek Logo December 24, 2024 Did You Know Their association with the Christmas season might make you think poinsettias hail from a

😱 AzureEdge.net DNS Retiring Jan. 2025, 🚀 Microsoft Phi-4 AI Outperforms, 🔒 Microsoft Secure Future Initiative

Tuesday, December 24, 2024

Blog | Advertise | View Online Your trusted source for Cloud, AI and DevOps guidance with industry expert Chris Pietschmann! Phi-4: Microsoft's New Small Language Model Outperforms Giants in AI

Mapped | The Top Health Insurance Companies by State 🏥

Tuesday, December 24, 2024

In 13 US states, a single company dominates the health insurance market, holding at least half of the total market share. View Online | Subscribe | Download Our App Presented by: Global X ETFs Power