type Record<K extends keyof any, T> = { [P in K]: T }. Record 接受两个类型变量, Record 生成的类型具有类型K 中存在的属性,值为类型T。这里有一个 ...
確定! 回上一頁