1: The Hero Editor
[examples/angular-tour-of-heroes] / src / app / hero.ts
diff --git a/src/app/hero.ts b/src/app/hero.ts
new file mode 100644 (file)
index 0000000..a61b497
--- /dev/null
@@ -0,0 +1,4 @@
+export interface Hero {
+  id: number;
+  name: string;
+}