/* * Copyright (c) 2019. Mario Studio. All right reserved. */ import { Pipe, PipeTransform, } from '@angular/core'; import { List, zipWith, } from 'lodash'; @Pipe({ name: 'zipWith', }) export class ZipWithPipe implements PipeTransform { transform ( ...iteratee: Array<((...group: T[]) => TResult) | List | null | undefined> ): TResult[] { return zipWith(...iteratee); } }