Support TypeScript 4.9
See original GitHub issueTypeScript 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>;
- Babel
- typescript-eslint
Anything else?
Issue Analytics
- State:
- Created a year ago
- Reactions:43
- Comments:6 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
👋 @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
Prettier 2.8 that supports
satisfies
operator has been released! https://prettier.io/blog/2022/11/23/2.8.0.html