UNPKG

491 BTypeScriptView Raw
1/**
2 * Returns the keys of the own properties of an object. The own properties of an object are those that are defined directly
3 * on that object, and are not inherited from the object's prototype. The properties of an object include both fields (objects) and functions.
4 *
5 * @param target Object that contains the own properties.
6 *
7 * @throws {TypeError} If `target` isn't an object.
8 */
9declare function OwnPropertyKeys(target: object): Array<string | symbol>;
10export = OwnPropertyKeys;