Skip to content
0:00 / 0:00

#typescript#satisfiesoperator#typescript4.9

TypeScript 4.9 - The satisfies operator, an introduction | Release Report

Michigan TypeScript

22K subscribers • 12 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Gaurav Kulkarni, senior software engineer at Threads

Intermediate. Assumes working knowledge.

1.9K views3 years ago1 recommendation

Programming languagesTypeScript

Gaurav Kulkarni introduces the satisfies operator in TypeScript 4.9 and explains the problem it solves with type inference.

TypeScript is introducing a new operator in 4.9: `satisfies`. This talk is a quick introduction showing off the primary use-case for the `satisfies` operator. If you've been writing TypeScript daily, you've probably hit the problem that this new operator solves. TypeScript 4.9 introducing the example how you used to do it the problem with the old approach the satisfies operator saves the day audience question: how does inferencing work? summary: it's super useful Gaurav Kulkarni (github.com/gauravmk) is a senior software engineer at Threads (threads.com), a Slack alternative for modern teams. Recorded on November 1st 2022 at Cahoots (cahoots.com) in Ann Arbor, Michigan.

Why it's here

1 person recommends this

What people say. Recommended as a clear introduction to the satisfies operator in TypeScript 4.9.

u/dimitropoulosin r/typescript • Recommends

On “Announcing TypeScript 4.9”

Exciting stuff! I'm most excited for the property narrowing with the \`in\` operator because it's such a quality-of-life improvement. On that note, though, Michigan TypeScript developers has videos on some other of the new features in 4.9 as well: * TypeScript satisfies operator in Storybook * TypeScript 4.9 Checks for Equality on NaN * TypeScript's satisfies operator: Intro to 4.9's new feature