7 lines
123 B
TypeScript
7 lines
123 B
TypeScript
declare function hasOwn<O, K extends PropertyKey, V = unknown>(
|
|
o: O,
|
|
p: K
|
|
): o is O & Record<K, V>;
|
|
|
|
export = hasOwn;
|