Function Overloads, Control Flow Analysis, Type | Treat

TypeScript Weekly

Issue #182 — December 9, 2021

Get the Best of TypeScript Control Flow Analysis

This article will show some simple type construction patterns, code writing habits, and compiler options that you can use to improve your application’s type inference without increasing its complexity.

Charly Poly

Type | Treat Challenges

In the last week of October, the TypeScript team presented several "spooky" code challenges that let you dig deeper into the TypeScript language in a fun way. Here are all the challenges:

Orta Therox

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)

TypeScript: The Humble Function Overload

With recent type system features like conditional types or variadic tuple types, one technique to describe a function’s interface has faded into the no-background: function overloads.

Stefan Baumgartner

Partners

Older messages

TypeScript 4.5, Function Overloading, Const Enums

Thursday, November 25, 2021

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

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

You Might Also Like

Happening TUESDAY! Follow Our Coverage of Apple’s Spring Announcement

Monday, May 6, 2024

iPhone Life magazine Follow Our Coverage of Apple's Latest Announcement. twitter facebook YouTube Podcast Tune in for Apple's 'Let Loose' Event Tomorrow! Surprise! Just a month before

Who wants a new iPad?

Monday, May 6, 2024

Plus: OpenAI and Stack Overflow partner and LockBit's website returns View this email online in your browser By Christine Hall Monday, May 6, 2024 Good afternoon, and welcome back to TechCrunch PM.

🔋 Why You Need More Than One Power Bank — Things We Want to See in Windows 12

Monday, May 6, 2024

Also: 7 Samsung Messages Features You Should Be Using, and More! How-To Geek Logo May 6, 2024 Did You Know You can find all manner of canned vegetables, but not broccoli: the temperatures required for

Launch pad decongestion

Monday, May 6, 2024

We've got some very cool news from Hubble Networks, which became the first company to connect a Bluetooth chip to a satellite. View this email online in your browser By Aria Alamalhodaei Monday,

Daily Coding Problem: Problem #1433 [Medium]

Monday, May 6, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Nest. Create a basic sentence checker that takes in a stream of characters and

Want to become an AI consultant?

Monday, May 6, 2024

My take on this new industry ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Visualized | Interest Rate Forecasts for Advanced Economies 📈📉

Monday, May 6, 2024

In this graphic, we show the IMF's interest rate forecast for the US, Europe, the UK, and Japan for the next five years ahead. View Online | Subscribe Presented by Voronoi: The App Where Data Tells

⚙️ Apple AI updates

Monday, May 6, 2024

Plus: X AI stories & YouTube "skip to the good part" ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Unlock Time Series Data, FTC Chair Joins StrictlyVC & More

Monday, May 6, 2024

TechCrunch Events Roundup | May 6 TechCrunch Events TechCrunch events roundup Unlock the power of time series data with industry experts from AWS and InfluxDB on May 16. Join us next week for this free

Deepdive – product strategy, AI, leadership, emotional intelligence

Monday, May 6, 2024

Earlier this month, we presented our Virtual edition of INDUSTRY: The Product Conference, featuring some of our favorite product leaders worldwide. There were seven great keynote presentations, live