TypeScript 4.0, Template String & Recursive Conditional Types

TypeScript Weekly

Issue #149 — September 2, 2020

Announcing TypeScript 4.0

TypeScript 4.0 has been released and brings some exciting new features, including variadic tuple types, labeled tuple elements, the new assignment operators &&=, ||=, and ??=, and more. Although it is a major release, there are no major breaking changes.

Daniel Rosenwasser

this in JavaScript and TypeScript

This post explains how the this keyword works in JavaScript and how TypeScript can help you understand what this refers to.

Stefan Baumgartner

Template String Types and Mapped Type `as` Clauses

Anders Hejlsberg has been working on interesting new type system capabilities: template string types as well as mapped type as clauses. Both features are slated for the upcoming TypeScript 4.1 release.

Anders Hejlsberg

Recursive Conditional Types

Another pull request by Anders Hejlsberg that adds support for recursive conditional types to TypeScript. Up until now, conditional types were restricted to be non-recursive.

Anders Hejlsberg

TypeScript Support in Svelte

How to use TypeScript in Svelte applications: all the way from configuring the project to migrating it from JavaScript to TypeScript.

MDN

Older messages

TypeScript Exercises, Types as Axioms

Wednesday, August 19, 2020

TypeScript Weekly Issue #148 — August 19, 2020 airbnb/ts-migrate A tool for helping migrate code to TypeScript. It takes a JavaScript (or partial TypeScript) project and outputs a compiling TypeScript

Nullish Coalescing Operator, New TypeScript Website

Thursday, August 6, 2020

TypeScript Weekly Issue #146 — August 6, 2020 Nullish Coalescing: The ?? Operator in TypeScript TypeScript 3.7 added support fort the ?? operator, also known as the nullish coalescing operator. We can

TypeScript + React, TypeScript + Svelte

Wednesday, July 29, 2020

TypeScript Weekly Issue #145 — July 29, 2020 TypeScript + React: Component Patterns A collection of component patterns for React when working with TypeScript. Stefan Baumgartner TypeScript: Data

TypeScript Support in Svelte, Thinking in Types

Wednesday, July 22, 2020

TypeScript Weekly Issue #144 — July 23, 2020 Advanced TypeScript An index of TypeScript posts that Stefan Baumgartner has written on his blog, covering various topics like control flow, generics, and

Variadic Tuple Types, Computing with Types

Monday, July 6, 2020

TypeScript Weekly Issue #143 — July 6, 2020 What's coming in TypeScript 4? An overview of upcoming features in TypeScript 4.0 with a handful of examples: variadic tuple types, labeled tuple types,

You Might Also Like

💪 You Can Use Copilot AI as a Personal Trainer — Why Your Laptop Needs a Docking Station

Wednesday, April 24, 2024

Also: Here's How to Make Your Apple ID Recoverable, and More! How-To Geek Logo April 24, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to

JSK Daily for Apr 24, 2024

Wednesday, April 24, 2024

JSK Daily for Apr 24, 2024 View this email in your browser A community curated daily e-mail of JavaScript news JSK Weekly - 24th April, 2024 React 19 has introduced many great functionalities and

Daily Coding Problem: Problem #1422 [Hard]

Wednesday, April 24, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Airbnb. Given a list of integers, write a function that returns the largest sum of non-

Charted | Artificial Intelligence Patents, by Country 🤖

Wednesday, April 24, 2024

This visualization shows which countries have been granted the most AI patents each year, from 2012 to 2022. View Online | Subscribe Presented by: New on VC+: Our Visual Briefing on the IMF's World

Save your seat: 1Password’s 2024 Security report insights webinar

Wednesday, April 24, 2024

Join us April 25th. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Top Tech Deals 📱 LG Flex TV, Google Pixel 7, DJI Mini 3, and More

Wednesday, April 24, 2024

Get yourself a discounted DJI drone, save on the Pixel 7, or score some PC and phone accessories. How-To Geek Logo April 24, 2024 Top Tech Deals: LG Flex TV, Google Pixel 7, DJI Mini 3, and More Find

The Protest Song Wakes Up 🎙️

Wednesday, April 24, 2024

Is this song the future of musical protest? Here's a version for your browser. Hunting for the end of the long tail • April 24, 2024 The Protest Song Wakes Up A buzzy protest song about the

JSK Weekly - 24th April, 2024

Wednesday, April 24, 2024

React 19 has introduced many great functionalities and features, among which the useOptimistic hook stands out. The useOptimistic hook offers a seamless way to manage UI states during asynchronous

The clock’s ticking for TikTok

Wednesday, April 24, 2024

The US Senate has passed a bill that would ban TikTok if its US business is not divested by Bytedance View this email online in your browser By Alex Wilhelm Wednesday, April 24, 2024 Good morning, and

How to block Windows 11 Start menu ads

Wednesday, April 24, 2024

Oura Ring hits Target; 7 iPad Pro features we need; AI hallucinations aren't all bad -- ZDNET ZDNET Tech Today - US April 24, 2024 placeholder Microsoft is now showing ads in Windows 11's Start