@ashetm/ng-utility
Version:
``@ashetm/ng-utility`` is a library that provide some utilities classes, like pipes.
12 lines (11 loc) • 601 B
TypeScript
import { PipeTransform } from '@angular/core';
import * as i0 from "@angular/core";
export declare class ArraySort implements PipeTransform {
transform<T>(list: T[]): T[];
transform<T>(list: T[], direction: 'asc' | 'desc'): T[];
transform<T>(list: T[], direction?: 'asc' | 'desc'): T[];
transform<T>(list: T[], direction: 'asc' | 'desc', key?: keyof T): T[];
transform<T>(list: T[], direction?: 'asc' | 'desc', key?: keyof T): T[];
static ɵfac: i0.ɵɵFactoryDeclaration<ArraySort, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<ArraySort, "arraySort", true>;
}