From ec06683ada5da45105e5f3089f9d9d35951a1f67 Mon Sep 17 00:00:00 2001 From: mpuebla Date: Fri, 9 Aug 2019 16:16:15 -0300 Subject: [PATCH] Agregado el tipo --- src/app/services/producto.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/services/producto.service.ts b/src/app/services/producto.service.ts index 321e847..910c3be 100644 --- a/src/app/services/producto.service.ts +++ b/src/app/services/producto.service.ts @@ -20,7 +20,7 @@ export class ProductoService { return this.http.get(`${appSettings.apiUrl}/articulos`); } - setProductos(producto){ + setProductos(producto : Producto){ this.productos.push(producto); this.productosEvent.emit(this.productos); -- 1.9.1