From 520dbcd36effda81af16da2143973c1b8a637d67 Mon Sep 17 00:00:00 2001 From: Sosuke Suzuki Date: Sun, 6 Nov 2022 17:54:43 +0900 Subject: [PATCH] Add changelog for #13783 (#13811) * Add changelog * Fix --- changelog_unreleased/typescript/13764.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 changelog_unreleased/typescript/13764.md diff --git a/changelog_unreleased/typescript/13764.md b/changelog_unreleased/typescript/13764.md new file mode 100644 index 000000000000..e6096a1ae4d8 --- /dev/null +++ b/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. + + +```tsx +const palette = { + red: [255, 0, 0], + green: "#00ff00", + blue: [0, 0, 255] +} satisfies Record; +```