You can declare the same interface name more than once. TypeScript will merge the declarations. The final interface has all properties from both places. This is called declaration merging.
interface Api {
version: number;
}
interface Api {
name: string;
}
You will merge two interface blocks and then build a label string.
Describe an API by merging interfaces, then format a label.