An enum is under the hood nothing more than an object, with typeof you let TypeScript infer a type and with keyof we can get all valid indices ...
確定! 回上一頁