@itrocks/storage
Version:
Transforms model objects to and from storage systems
10 lines (9 loc) • 353 B
TypeScript
import { Reverse } from '@itrocks/sort';
import { Option } from './option';
export type PropertyPath = string | Reverse;
export type PropertyPaths = Array<PropertyPath>;
export declare class Sort extends Option {
properties: PropertyPaths;
constructor(properties: PropertyPaths);
}
export declare function sort(properties: PropertyPaths): Sort;