UNPKG

lgrthms

Version:

Algorithms and data structures for your JavaScript and TypeScript projects 🧑‍💻

2 lines (1 loc) 90 B
export declare function heapSort<T>(array: T[], compareFn?: (a: T, b: T) => number): T[];