File

src/app/hero.ts

Description

Hero data model.

Example

Index

Properties

Properties

id
id: number
Type : number

Hero unique identifier

name
name: string
Type : string

Hero name

export class Hero {
  /** Hero unique identifier */
  id: number;

  /** Hero name */
  name: string;
}

result-matching ""

    No results matching ""