TypeScript – Accessing Enum Values via a String · Define an indexer on the Object interface: interface Object {. [idx: string]: any;. } · Use type ...
確定! 回上一頁