Created
August 5, 2021 10:27
-
-
Save NyaGarcia/74c032a9f0f184b57bf9c5cf41d2b47e to your computer and use it in GitHub Desktop.
Pipe scaffolding generated by the ng g pipe command
This file contains hidden or 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: 'filterFalsy' | |
}) | |
export class FilterFalsyPipe 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