angular-hotel-manager/src/text.pipe.ts

12 lines
229 B
TypeScript
Raw Normal View History

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");
}
}