Skip to content

如何为 TS 类对象动态添加成员?

ts
class User {
  [key: string]: any
}

基于 MIT 许可发布