Last active
April 25, 2021 18:57
-
-
Save walidum/95e3f9b94f24e16bc0e55f30ab28db1c to your computer and use it in GitHub Desktop.
For create a pipe with the cli use : ng g p pipeName
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Pipe, PipeTransform } from '@angular/core'; | |
@Pipe({ | |
name: ‘pipeName' | |
}) | |
export class PipeNamePipe implements PipeTransform { | |
transform(value: any, args?: any): any { | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment