📜  对象数组打字稿代码示例

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

代码示例5
interface User {
    [index: number]: {
        firstname: string;
          lastname: string;
          age: number;
    }
}