TS中如何设计Class声明 class Greeter{ greeting: string; constructor(message:string){ this.greeting = message } getGreeting(