1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-22 11:13:46 +00:00
Files
browser/bitwarden_license/bit-web/src/app/billing/providers/clients/replace.pipe.ts
2024-12-16 10:07:46 -05:00

12 lines
285 B
TypeScript

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