📅  最后修改于: 2022-03-11 14:48:37.256000             🧑  作者: Mango
代码示例1
class Greeter {
greeting: T
constructor(message: T) {
this.greeting = message
}
}
let greeter = new Greeter('Hello, world')