import { Pipe , PipeTransform } from '@angular/core' ; import { maskBr } from 'js-brasil' ; @ Pipe ( { name : 'time' , } ) export class TIMEPipe implements PipeTransform { transform ( timeValue ) { return maskBr . time ( timeValue ) ; } }