不允许声明空接口。
// an interface with any number of members
interface Foo {
name: string;
}
interface Bar {
age: number;
}
// an interface with more than one supertype
// in this case the interface can be used as a replacement of an intersection type.
export interface Baz extends Foo, Bar {}