From c0732c9804cac3d79bb554ee38440bcd3e88cb88 Mon Sep 17 00:00:00 2001 From: ushironoko Date: Wed, 14 Jun 2023 09:40:41 +0000 Subject: [PATCH] =?UTF-8?q?refactor:=20Change=20return=20type=20of?= =?UTF-8?q?=E3=80=80Object.entries=20from=20[string,=20V]=20to=20[K,=20V]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/lib.es2017.object.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lib.es2017.object.d.ts b/lib/lib.es2017.object.d.ts index b4c2f70..68630f8 100644 --- a/lib/lib.es2017.object.d.ts +++ b/lib/lib.es2017.object.d.ts @@ -24,7 +24,7 @@ interface ObjectConstructor { * Returns an array of key/values of the enumerable properties of an object * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object. */ - entries(o: Record): [string, V][]; + entries(o: Record): [K, V][]; /** * Returns an array of key/values of the enumerable properties of an object * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.