index.d.ts 198 B

1234
  1. declare function hasOwn<O, K extends PropertyKey>(o: O, p: K): p is K & keyof O;
  2. declare function hasOwn<O, K extends PropertyKey, V = unknown>(o: O, p: K): o is O & Record<K, V>;
  3. export = hasOwn;