Slide 8
Slide 8 text
6. エディタ上で型をみよう
Use Your Editor to Interrogate and Explore the Type System
7. 型を値の集合として捉えよう
Think of Types as Sets of Values
8. 型空間 or 値空間 どちらのシンボルか見分けよう
Know How to Tell Whether a Symbol Is in the Type Space or Value Space
9. アサーションより型宣言を使おう
Prefer Type Declarations to Type Assertions
10. Object Wrapper Type を避けよう
Avoid Object Wrapper Types (String, Number, Boolean, Symbol, BigInt)
Chapter 2 : TypeScript の型システム (1/3)
TypeScript’s Type System
TypeScript の使い方、考え方
ざっと書き方は把握したけど、どう使おうかなと考えている人に
正しい使い方を知りたい