objectKeys
Same as Object.keys but better type.
Type Declarations
Details
ts
/**
* Strict typed `Object.keys`
*
* @link https://github.com/antfu/utils/blob/main/src/object.ts
* @see {@link https://s3xysteak.github.io/fnclip/functions/object/objectKeys/}
*/
export declare function objectKeys<T extends object>(obj: T): Array<`${keyof T & (string | number | boolean | null | undefined)}`>;