📜  接口的 typescript 类型数组 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:34.938000             🧑  作者: Mango

代码示例1
// source: https://stackoverflow.com/questions/25469244/how-can-i-define-an-interface-for-an-array-of-objects

interface EnumServiceItem {
    id: number; label: string; key: any
}

interface EnumServiceItems extends Array{}