diff options
Diffstat (limited to 'cli/dts/lib.esnext.object.d.ts')
-rw-r--r-- | cli/dts/lib.esnext.object.d.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cli/dts/lib.esnext.object.d.ts b/cli/dts/lib.esnext.object.d.ts new file mode 100644 index 000000000..4140f9334 --- /dev/null +++ b/cli/dts/lib.esnext.object.d.ts @@ -0,0 +1,12 @@ +// 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; +} |