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}`; } }