angular-cn/public/docs/_examples/toh-4/ts/app/hero.ts

5 lines
56 B
TypeScript

export interface Hero {
id: number;
name: string;
}