添加c 或d 或任何其他随机未知属性不会触发TypeScript 错误。我怀疑这只有在接口(interface)包含[x: string]: any 时才有可能。 那么为什么Array.map 对 ...
確定! 回上一頁