From 4da002730be6f25b3ec725775892c963a2c58188 Mon Sep 17 00:00:00 2001 From: Sven Brodny Date: Fri, 16 Feb 2024 14:48:56 +0100 Subject: [PATCH] revert: pipe challenge changes (3) --- apps/angular/pipe-easy/src/app/app.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/angular/pipe-easy/src/app/app.component.ts b/apps/angular/pipe-easy/src/app/app.component.ts index efa51d5..3c19fa1 100644 --- a/apps/angular/pipe-easy/src/app/app.component.ts +++ b/apps/angular/pipe-easy/src/app/app.component.ts @@ -14,8 +14,8 @@ import { Component } from '@angular/core'; export class AppComponent { persons = ['toto', 'jack']; - // very heavy computation heavyComputation(name: string, index: number) { + // very heavy computation return `${name} - ${index}`; } }