From 28495b1f7a96e61dcf544c50a49da113b28e9ba0 Mon Sep 17 00:00:00 2001 From: Joeri Deplus Date: Mon, 18 Dec 2017 15:29:19 +0100 Subject: [PATCH] Selected output emits a number[] Selected output emits a number[] instead of a Pizza --- src/products/components/pizza-form/pizza-form.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/products/components/pizza-form/pizza-form.component.ts b/src/products/components/pizza-form/pizza-form.component.ts index eca53fb4..8b2c0385 100755 --- a/src/products/components/pizza-form/pizza-form.component.ts +++ b/src/products/components/pizza-form/pizza-form.component.ts @@ -92,7 +92,7 @@ export class PizzaFormComponent implements OnChanges { @Input() pizza: Pizza; @Input() toppings: Topping[]; - @Output() selected = new EventEmitter(); + @Output() selected = new EventEmitter(); @Output() create = new EventEmitter(); @Output() update = new EventEmitter(); @Output() remove = new EventEmitter();