generated at
as const satisfies T


なぜリストに対しては使えない?
ts
type Place = { label: string; picUrl: string; }; const places = [ { label: 'その他', picUrl: 'https://static.hoge/place-living.jpeg', }, { label: 'リビング', picUrl: 'https://static.hoge/place-living.jpeg', }, ] as const satisfies Place[]; // error
この値の places から、
type Name = (typeof places)[number]['label']; としたい