We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae4d85a commit 520dbcdCopy full SHA for 520dbcd
1 file changed
changelog_unreleased/typescript/13764.md
@@ -0,0 +1,16 @@
1
+#### Support TypeScript 4.9 (#13764, #13783 by @sosukesuzuki)
2
+
3
+Support [TypeScript 4.9](https://devblogs.microsoft.com/typescript/announcing-typescript-4-9) features!
4
5
+##### [`satisfies` operator](https://devblogs.microsoft.com/typescript/announcing-typescript-4-9-beta/#the-satisfies-operator)
6
7
+Supported by only `babel-ts` parser.
8
9
+<!-- prettier-ignore -->
10
+```tsx
11
+const palette = {
12
+ red: [255, 0, 0],
13
+ green: "#00ff00",
14
+ blue: [0, 0, 255]
15
+} satisfies Record<Colors, string | RGB>;
16
+```
0 commit comments