📜  typescript 扩展了多种类型 - TypeScript 代码示例

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

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

interface FooYou {
  name: 'foo';
}

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