UNPKG

sort-es

Version:

Blazing fast, tree-shakeable, type-safe, modern utility library to sort any type of array in less than 1 KB!

5 lines (4 loc) 214 B
import { sortable } from "../types/types"; import { SortOption } from "../interfaces/interfaces"; declare const byAny: <T extends string | number | Date>(options?: SortOption) => sortable<T>; export default byAny;