質問編集履歴
2
型の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -20,11 +20,11 @@
|
|
20
20
|
|
21
21
|
public personName: string;
|
22
22
|
|
23
|
-
public personAge:
|
23
|
+
public personAge: number;
|
24
|
-
|
25
|
-
|
26
|
-
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
-
constructor(personNumber: string, personName: string, personAge:
|
27
|
+
constructor(personNumber: string, personName: string, personAge: number) {
|
28
28
|
|
29
29
|
this.personNumber = personNumber;
|
30
30
|
|
@@ -134,7 +134,7 @@
|
|
134
134
|
|
135
135
|
private personName!: string;
|
136
136
|
|
137
|
-
private personAge!:
|
137
|
+
private personAge!: number;
|
138
138
|
|
139
139
|
|
140
140
|
|
1
コードの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -128,6 +128,16 @@
|
|
128
128
|
|
129
129
|
export default class Child extends Vue {
|
130
130
|
|
131
|
+
|
132
|
+
|
133
|
+
private personNumber!: string;
|
134
|
+
|
135
|
+
private personName!: string;
|
136
|
+
|
137
|
+
private personAge!: string;
|
138
|
+
|
139
|
+
|
140
|
+
|
131
141
|
// TODO 情報を1つのモデルに格納する。
|
132
142
|
|
133
143
|
@PropSync('personInfomation', { type: Object, default: null })
|