0.0.24 • Published 6 months ago
@types/natural-sort v0.0.24
Installation
npm install --save @types/natural-sort
Summary
This package contains type definitions for NaturalSort (https://github.com/studio-b12/natural-sort).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/natural-sort.
index.d.ts
// Type definitions for NaturalSort
// Project: https://github.com/studio-b12/natural-sort
// Definitions by: Antonio Morales <https://github.com/a-morales>
// Brian Crowell <https://github.com/fluggo>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export as namespace naturalSort;
interface Options {
/** Set to true to make the sort case-sensitive. */
caseSensitive?: boolean | undefined;
/** Set to 'desc' to sort in reverse. */
direction?: 'desc' | undefined
}
declare function naturalSort(options?: Options): (a: string | number, b: string | number) => number;
export = naturalSort;
Additional Details
- Last updated: Thu, 08 Jul 2021 18:51:10 GMT
- Dependencies: none
- Global values:
naturalSort
Credits
These definitions were written by Antonio Morales, and Brian Crowell.
0.0.22
8 months ago
0.0.23
7 months ago
0.0.24
6 months ago
0.0.21
3 years ago
0.0.20
6 years ago
0.0.19
8 years ago
0.0.18
8 years ago
0.0.17-alpha
8 years ago
0.0.16-alpha
8 years ago
0.0.15-alpha
8 years ago
0.0.14-alpha
8 years ago
0.0.13-alpha
8 years ago
0.0.12-alpha
8 years ago
0.0.11-alpha
8 years ago
0.0.6-alpha
8 years ago
0.0.5-alpha
8 years ago