mirror of
https://github.com/denoland/deno.git
synced 2024-11-15 16:43:44 -05:00
13 lines
344 B
TypeScript
13 lines
344 B
TypeScript
|
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
|
||
|
|
||
|
/// <reference no-default-lib="true"/>
|
||
|
|
||
|
interface ObjectConstructor {
|
||
|
/**
|
||
|
* Determines whether an object has a property with the specified name.
|
||
|
* @param o The target object.
|
||
|
* @param v A property name.
|
||
|
*/
|
||
|
hasOwn(o: object, v: PropertyKey): boolean;
|
||
|
}
|