1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00
Files
browser/bitwarden_license/bit-web/src/app/billing/providers/clients/replace.pipe.ts
2025-06-02 15:40:06 -04:00

11 lines
265 B
TypeScript

import { Pipe, PipeTransform } from "@angular/core";
@Pipe({
name: "replace",
})
export class ReplacePipe implements PipeTransform {
transform(value: string, pattern: string, replacement: string): string {
return value.replace(pattern, replacement);
}
}