summaryrefslogtreecommitdiff
path: root/cli/dts/lib.esnext.object.d.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2021-08-10 18:33:08 +1000
committerGitHub <noreply@github.com>2021-08-10 10:33:08 +0200
commit465cf9a6fe2d77f4c3cdaeb8eea60bd2b8697608 (patch)
treec3ea98533e1ecdf47f5ca9ff8afa0374d41b278b /cli/dts/lib.esnext.object.d.ts
parent453dfaa960245df2f8c1b8f505984b1cae45db67 (diff)
feat: add new esnext types (#11627)
Diffstat (limited to 'cli/dts/lib.esnext.object.d.ts')
-rw-r--r--cli/dts/lib.esnext.object.d.ts12
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;
+}