Skip to content

Commit 28495b1

Browse files
authored
Selected output emits a number[]
Selected output emits a number[] instead of a Pizza
1 parent b1c02f9 commit 28495b1

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)