可以用字符串访问JavaScript 中的对象(TypeScript 中也一样),用来保存对 ... ok interface Foo { [key: string]: number; x: number; y: number; } ...
確定! 回上一頁