📜  扩展多个类打字稿代码示例

📅  最后修改于: 2022-03-11 14:48:27.599000             🧑  作者: Mango

代码示例2
interface You {
  name: string;
  value: number;
}

interface FooYou {
  name: 'foo';
}

interface ConcreteFooYou extends You, FooYou {
  concrete: boolean;
}