サクサク読めて、アプリ限定の機能も多数!
TS 5.5 では関数本体から型述語が推論されるようになる(is を書かなくてもよい)。式を組み合わせて複雑なオブジェクトの絞り込みも可能。ただし `.filter(Boolean)` はおそらく従来通り
jay-es のブックマーク 2024/03/18 09:59
Type Predicate Inference: The TS 5.5 Feature No One Expected[TypeScript]TS 5.5 では関数本体から型述語が推論されるようになる(is を書かなくてもよい)。式を組み合わせて複雑なオブジェクトの絞り込みも可能。ただし `.filter(Boolean)` はおそらく従来通り2024/03/18 09:59
このブックマークにはスターがありません。 最初のスターをつけてみよう!
www.totaltypescript.com2024/03/18
Matt PocockMatt is a well-regarded TypeScript expert known for his ability to demystify complex TypeScript concepts. TypeScript 5.5 will be dropping in the next couple of months. And thanks to one ...
4 人がブックマーク・1 件のコメント
\ コメントが サクサク読める アプリです /
TS 5.5 では関数本体から型述語が推論されるようになる(is を書かなくてもよい)。式を組み合わせて複雑なオブジェクトの絞り込みも可能。ただし `.filter(Boolean)` はおそらく従来通り
jay-es のブックマーク 2024/03/18 09:59
このブックマークにはスターがありません。
最初のスターをつけてみよう!
Type Predicate Inference: The TS 5.5 Feature No One Expected
www.totaltypescript.com2024/03/18
Matt PocockMatt is a well-regarded TypeScript expert known for his ability to demystify complex TypeScript concepts. TypeScript 5.5 will be dropping in the next couple of months. And thanks to one ...
4 人がブックマーク・1 件のコメント
\ コメントが サクサク読める アプリです /