UNPKG

prostgles-types

Version:

Shared TypeScript object definitions for prostgles-client and prostgles-server

10 lines 413 B
/** * Safely check if an object has a property (works with __proto__ and constructor) */ export declare const safeHasOwn: (obj: object, key: string) => boolean; /** * Safely get a property value without triggering prototype chain issues */ export declare const safeGetProperty: (obj: object, key: string) => any; export declare const safeGetKeys: (obj: object) => string[]; //# sourceMappingURL=utils.d.ts.map