Created
April 27, 2021 22:04
-
-
Save NyaGarcia/d06ee677d45c915e06cd36e4129fe301 to your computer and use it in GitHub Desktop.
Adding transform types to the FilterFalsyPipe
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
@Pipe({ name: "filterFalsy" }) | |
export class FilterFalsyPipe implements PipeTransform { | |
transform<T>(array: T[]): T[] {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment