mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
10 lines
382 B
TypeScript
10 lines
382 B
TypeScript
// Type definitions for random-obj-key 1.0
|
|
// Project: https://github.com/sindresorhus/random-obj-key
|
|
// Definitions by: BendingBender <https://github.com/BendingBender>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.1
|
|
|
|
export = randomObjKey;
|
|
|
|
declare function randomObjKey<TObj extends { [key: string]: any }>(input: TObj): keyof TObj;
|