WXL
4 天以前 3bd962a6d7f61239c020e2dbbeb7341e5b842dd1
1
2
3
4
declare function hasOwn<O, K extends PropertyKey>(o: O, p: K): p is K & keyof O;
declare function hasOwn<O, K extends PropertyKey, V = unknown>(o: O, p: K): o is O & Record<K, V>;
 
export = hasOwn;