TS 中 keyof 和 typeof

    keyof keyof 是一个类型操作符, 用于获取一个类型所有的键值(属性名的)联合类型 interface Todo { <!-- br --> name:string, ...