toKey.d.ts 241 B

123456789
  1. /**
  2. * Converts `value` to a string key if it's not a string or symbol.
  3. *
  4. * @private
  5. * @param {*} value The value to inspect.
  6. * @returns {string|symbol} Returns the key.
  7. */
  8. declare function toKey(value: any): any;
  9. export default toKey;