回答編集履歴
1
edit
test
CHANGED
@@ -10,4 +10,4 @@
|
|
10
10
|
|
11
11
|
エラーの原因は```hero.component.ts```で```@NgModule```を定義しているからです。
|
12
12
|
|
13
|
-
公式を見れば分かる話ですが```@NgModule```は```app.module.ts```
|
13
|
+
公式のチュートリアルを見れば分かる話ですが```@NgModule```は```app.module.ts```で定義します。
|