next
Version:
The React Framework
9 lines (8 loc) • 344 B
TypeScript
/**
* @deprecated Use `sortSortableRoutes` or `sortPages` instead.
*/
export declare function getSortedRoutes(normalizedPages: ReadonlyArray<string>): string[];
/**
* @deprecated Use `sortSortableRouteObjects` or `sortPageObjects` instead.
*/
export declare function getSortedRouteObjects<T>(objects: T[], getter: (obj: T) => string): T[];