question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support TypeScript 4.9

See original GitHub issue

TypeScript 4.9 Beta has been released!

We should support new syntax.

satisfies operator

const palette = {
    red: [255, 0, 0],
    green: "#00ff00",
    bleu: [0, 0, 255]
} satisfies Record<Colors, string | RGB>;

Anything else?

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:43
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

14reactions
kachkaevcommented, Nov 16, 2022

👋 @blixt! The support for satisfies will be added in Prettier 2.8, you can track the release process here: https://github.com/prettier/prettier/issues/13792.

The PR for new syntax is already merged: https://github.com/prettier/prettier/pull/13783

8reactions
sosukesuzukicommented, Nov 23, 2022

Prettier 2.8 that supports satisfies operator has been released! https://prettier.io/blog/2022/11/23/2.8.0.html

Read more comments on GitHub >

github_iconTop Results From Across the Web

Announcing TypeScript 4.9 - Microsoft Developer Blogs
Today we are excited to announce the availability of TypeScript 4.9! If you're not familiar with TypeScript, it's a language that builds on ......
Read more >
TypeScript 4.9 Is A Game Changer - ITNEXT
The newest 4.9 TypeScript version is just around the corner, and new features are mind-blowing. You will learn about them from this article....
Read more >
TypeScript 4.9 Features and Improvements - Bitovi
TypeScript 4.9 has exciting new features and improvements for frontend/React developers. Read about our favorites and learn how to download ...
Read more >
Support TypeScript 4.9 · Issue #42978 · vercel/next.js - GitHub
I'm guessing these versions need to be bumped in order to support TypeScript 4.9. Expected Behavior. Should be able to use TypeScript 4.9....
Read more >
TypeScript 4.9 is Huge! - JavaScript in Plain English
TS 4.9 supports an upcoming feature in ECMAScript called auto-accessors. Auto-accessors are declared just like properties on classes, except that they're ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found