1 | export interface ObjectType<T> {
|
2 | [key: string]: T;
|
3 | }
|
4 | declare function sortBy<T>(arr: ObjectType<T>[], key: Function): ObjectType<T>[];
|
5 | declare function sortBy<T>(arr: ObjectType<T>[], key: string): ObjectType<T>[];
|
6 | declare function sortBy<T>(arr: ObjectType<T>[], key: string[]): ObjectType<T>[];
|
7 | export default sortBy;
|