A symbol value may be used as an identifier for object properties [...] 但是使用它作为键属性的类型: type obj = { [key: symbol | string]: string }
確定! 回上一頁