10 lines
241 B
TypeScript
10 lines
241 B
TypeScript
|
/**
|
||
|
* Converts `value` to a string key if it's not a string or symbol.
|
||
|
*
|
||
|
* @private
|
||
|
* @param {*} value The value to inspect.
|
||
|
* @returns {string|symbol} Returns the key.
|
||
|
*/
|
||
|
declare function toKey(value: any): any;
|
||
|
export default toKey;
|