angular-cn/public/docs/_examples/testing/ts/app/hero.ts

6 lines
66 B
TypeScript

// #docregion
export class Hero {
id: number;
name: string;
}