UNPKG

@types/sort-object-keys

Version:
26 lines (19 loc) 830 B
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sort-object-keys/index.d.ts) ````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](https://github.com/forivall).