Add changelog for #13783 (#13811)

* Add changelog

* Fix
This commit is contained in:
Sosuke Suzuki authored and GitHub committed 2022-11-06 17:54:43 +09:00
1 parent ae4d85ab3c
commit 520dbcd36e
1 file changed
+16
+16
View File
@@ -0,0 +1,16 @@
#### Support TypeScript 4.9 (#13764, #13783 by @sosukesuzuki)
Support [TypeScript 4.9](https://devblogs.microsoft.com/typescript/announcing-typescript-4-9) features!
##### [`satisfies` operator](https://devblogs.microsoft.com/typescript/announcing-typescript-4-9-beta/#the-satisfies-operator)
Supported by only `babel-ts` parser.
<!-- prettier-ignore -->
```tsx
const palette = {
red: [255, 0, 0],
green: "#00ff00",
blue: [0, 0, 255]
} satisfies Record<Colors, string | RGB>;
```