
Announcing TypeScript 4.9
ARANK
Today we are excited to announce the availability of TypeScript 4.9! If you’re not familiar with TypeScript, it’s a language that builds on JavaScript by adding types and type-checking. Types can describe things like the shapes of our objects, how functions can be called,
1 comments
TypeScript 4.9リリース💐
satisfiesは顧客が本当に必要だったもの
const foodList = {
ramen: "ラーメン",
udon: "うどん",
// エラー🥰
rice: 100,
} satisfies {[key: string]: string};
// 補完
foodList.ramen;
デモ
tsplay.dev/mq3Djw
devblogs.microsoft.com/typescript/ann…
#TypeScript https://t.co/OuTu8E40vE