最終更新:2021-09-01 (水) 18:15:42 (977d)
TypeScript/合併型
Top / TypeScript / 合併型
string | number
TypeScript/配列
const hoge(string|number)[] = [10,"abc",20]
関連
- TypeScript/typeof?
- TypeScript/交叉型