import { Pipe , PipeTransform } from '@angular/core' ; @ Pipe ( { name : 'v6CustomPipe' } ) export class V6CustomPipePipe implements PipeTransform { transform ( value , multiplier = 2 ) { return value * multiplier ; } }