{"version":3,"sources":["../../src/functions/objectKeys/objectKeys.ts"],"names":[],"mappings":";AAIO,IAAM,aAAyB,OAAO","sourcesContent":["import type { StringKeyOf } from 'type-fest';\n\nimport { AnyFunction } from '../../types/_internal';\n\nexport const objectKeys: ObjectKeys = Object.keys;\n\n/**\n * Returns an array of a given object's own enumerable property names, iterated in the same order that a normal loop would.\n * Same as `Object.keys`, but with typed keys.\n * @param object An object to get the keys of.\n * @returns An array of strings that represent all the enumerable properties of the given object.\n * @note The type of the object is inferred from the type of the `object` parameter, so if that's incorrect/incomplete\n * more keys might be returned than actually exist on the object. See https://github.com/Microsoft/TypeScript/issues/12870 for more info.\n */\ntype ObjectKeys = <T extends object>(\n  object: Exclude<T, AnyFunction>\n) => Array<StringKeyOf<T>>;\n"]}