Skip to content

Commit

Permalink
Add changelog for #13783 (#13811)
Browse files Browse the repository at this point in the history
* Add changelog

* Fix
  • Loading branch information
sosukesuzuki committed Nov 6, 2022
1 parent ae4d85a commit 520dbcd
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions changelog_unreleased/typescript/13764.md
@@ -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>;
```

0 comments on commit 520dbcd

Please sign in to comment.