import { PipeTransform , Pipe } from '@angular/core' ; const name = 'firstUpper' ; const pure = true ; deprecated @ Pipe ( { name , pure } ) export class FirstUpperPipe implements PipeTransform { /**
     * Example property
     */ private cachedUrl : string = '' ; deprecated param { string } value transform ( value ) { return value . charAt ( 0 ) . toUpperCase ( ) + value . slice ( 1 ) ; } }