Skip to content

Commit 520dbcd

Browse files
author
Sosuke Suzuki
authored
Add changelog for #13783 (#13811)
* Add changelog * Fix
1 parent ae4d85a commit 520dbcd

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)