Skip to content

Instantly share code, notes, and snippets.

@AbuzerAsif
Last active April 3, 2019 11:21
Show Gist options
  • Select an option

  • Save AbuzerAsif/940c965587e70cd0e28a803505aeb9e7 to your computer and use it in GitHub Desktop.

Select an option

Save AbuzerAsif/940c965587e70cd0e28a803505aeb9e7 to your computer and use it in GitHub Desktop.

Revisions

  1. AbuzerAsif revised this gist Apr 3, 2019. No changes.
  2. AbuzerAsif created this gist Apr 3, 2019.
    10 changes: 10 additions & 0 deletions angular-custom-pipes-8.ts
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    import { Pipe, PipeTransform } from '@angular/core';

    @Pipe({
    name: 'myCustomPipe'
    })
    export class MyCustomPipe implements PipeTransform {
    transform(value: any, args?: any): any {
    return value;
    }
    }