12 lines
229 B
TypeScript
12 lines
229 B
TypeScript
|
import {Pipe, PipeTransform} from '@angular/core';
|
||
|
|
||
|
@Pipe({
|
||
|
name: 'text',
|
||
|
standalone: true
|
||
|
})
|
||
|
export class TextPipe implements PipeTransform {
|
||
|
transform(value: string): string {
|
||
|
return value.replaceAll("L", "P");
|
||
|
}
|
||
|
}
|