export interface hasOwnProperty { (obj: O, prop: P): obj is O & Pick, P>;

(obj: unknown, prop: P): obj is Record; }