npm.io
1.1.3 • Published 2 years ago

@types/sort-object-keys

Licence
MIT
Version
1.1.3
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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 1536 GMT
  • Dependencies: none

Credits

These definitions were written by Emily Marigold Klassen.