サクサク読めて、アプリ限定の機能も多数!
TypeScriptのnarrowingがどのように動作しているかについて。 上から下に型を絞り込んでいるのではなく、シンボルが参照されてるポイントから制御フローグラフを逆にたどることで型を絞り込む実装になっている話
efcl のブックマーク 2024/03/26 23:59
Effective TypeScript › Flow Nodes: How Type Inference Is Implemented[TypeScript][article]TypeScriptのnarrowingがどのように動作しているかについて。 上から下に型を絞り込んでいるのではなく、シンボルが参照されてるポイントから制御フローグラフを逆にたどることで型を絞り込む実装になっている話2024/03/26 23:59
このブックマークにはスターがありません。 最初のスターをつけてみよう!
effectivetypescript.com2024/03/25
In most programming languages a variable has a type and that type does not change. But one of the most interesting aspects of TypeScript's type system is that a symbol has a type at a location. Var...
21 人がブックマーク・2 件のコメント
\ コメントが サクサク読める アプリです /
TypeScriptのnarrowingがどのように動作しているかについて。 上から下に型を絞り込んでいるのではなく、シンボルが参照されてるポイントから制御フローグラフを逆にたどることで型を絞り込む実装になっている話
efcl のブックマーク 2024/03/26 23:59
このブックマークにはスターがありません。
最初のスターをつけてみよう!
Effective TypeScript › Flow Nodes: How Type Inference Is Implemented
effectivetypescript.com2024/03/25
In most programming languages a variable has a type and that type does not change. But one of the most interesting aspects of TypeScript's type system is that a symbol has a type at a location. Var...
21 人がブックマーク・2 件のコメント
\ コメントが サクサク読める アプリです /