| 337 | // The generated code corresponds to the following decorator: |
| 338 | // @Pipe({name: 'sayHello', pure: true}) |
| 339 | class SayHelloPipe extends ParentPipe implements PipeTransform { |
| 340 | transform() { |
| 341 | return this.sayHelloService.getHello(); |
| 342 | } |
| 343 | |
| 344 | static override ɵfac = (t?: any) => ɵɵgetInheritedFactory(t || SayHelloPipe)(SayHelloPipe); |
| 345 | static ɵpipe = ɵɵdefinePipe({ |
| 346 | name: 'sayHello', |
| 347 | type: SayHelloPipe, |
| 348 | pure: true, |
| 349 | }); |
| 350 | } |
| 351 | |
| 352 | @Component({ |
| 353 | template: '{{ value | sayHello }}', |
nothing calls this directly
no test coverage detected