Created
October 19, 2020 18:49
-
-
Save nicolasleal570/f16e973937f35066f10a66e6e03668be to your computer and use it in GitHub Desktop.
Pipe Example Angular
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: 'example' | |
}) | |
export class ExamplePipe implements PipeTransform { | |
transform(value: unknown, ...args: unknown[]): unknown { | |
return null; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment