Installation
npm install --save @types/sort-object-keys
Summary
This package contains type definitions for sort-object-keys (https://github.com/keithamus/sort-object-keys#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sort-object-keys.
index.d.ts
export = sortObjectByKeyNameList;
declare function sortObjectByKeyNameList<T>(
object: T,
sortWith?: ReadonlyArray<keyof T> | ((a: keyof T, b: keyof T) => number),
): T;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Emily Marigold Klassen.