Skip to content

Instantly share code, notes, and snippets.

@walidum
Last active April 25, 2021 18:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save walidum/95e3f9b94f24e16bc0e55f30ab28db1c to your computer and use it in GitHub Desktop.
Save walidum/95e3f9b94f24e16bc0e55f30ab28db1c to your computer and use it in GitHub Desktop.
For create a pipe with the cli use : ng g p pipeName
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