function infiniteLoop(): never { while (true) {} } TUSJDU/VMM$IFDLJOHֿ僗Ⲗמםזיַםַ㕙⺬סײ♏⪌⺎耆ն┉亠ך+BWB4DSJQUסٚ٤ذّؕ┕ךעundefinedםסךյ♏⪌׆כעכ؆לםַךֹն IBUFOBJOUFSO
string, age: number, }; type Age = Person['age']; // number const signalColors = ['red', 'blue', 'yellow'] as const; // as const͠ͳ͍ͱstring[]ʹͳΔ // Arrayʹ[number]ͰΞΫηε͢ΔͱྻͷΛྻڍͨ͠ܕΛಘΒΕΔ type Signal = typeof signalColors[number]; // 'red' | 'blue' | 'yellow' IBUFOBJOUFSO