Skip to content

Commit 66991e8

Browse files
authored
Merge pull request #4 from miniplus/patch-1
Selected output emits a number[]
2 parents b1c02f9 + 28495b1 commit 66991e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/products/components/pizza-form/pizza-form.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export class PizzaFormComponent implements OnChanges {
9292
@Input() pizza: Pizza;
9393
@Input() toppings: Topping[];
9494

95-
@Output() selected = new EventEmitter<Pizza>();
95+
@Output() selected = new EventEmitter<number[]>();
9696
@Output() create = new EventEmitter<Pizza>();
9797
@Output() update = new EventEmitter<Pizza>();
9898
@Output() remove = new EventEmitter<Pizza>();

0 commit comments

Comments
 (0)