Index: es2019.object.d.ts
===================================================================
--- es2019.object.d.ts
+++ es2019.object.d.ts
@@ -4,14 +4,8 @@
/**
* Returns an object created by key-value entries for properties and methods
* @param entries An iterable object that contains key-value entries for properties and methods.
*/
- fromEntries<T = any>(
- entries: Iterable<readonly [PropertyKey, T]>,
- ): { [k: string]: T };
-
- /**
- * Returns an object created by key-value entries for properties and methods
- * @param entries An iterable object that contains key-value entries for properties and methods.
- */
- fromEntries(entries: Iterable<readonly any[]>): any;
+ fromEntries<T extends readonly [PropertyKey, unknown]>(
+ entries: Iterable<T>,
+ ): Record<T[0], T[1]>;
}