@oclif/command
Version:
oclif base command
7 lines (6 loc) • 315 B
TypeScript
export declare function compact<T>(a: (T | undefined)[]): T[];
export declare function uniqBy<T>(arr: T[], fn: (cur: T) => any): T[];
export declare namespace sort {
type Types = string | number | undefined | boolean;
}
export declare function sortBy<T>(arr: T[], fn: (i: T) => sort.Types | sort.Types[]): T[];