1/// <reference lib="es2015.iterable" /> 2 3interface ObjectConstructor { 4 /** 5 * Returns an object created by key-value entries for properties and methods 6 * @param entries An iterable object that contains key-value entries for properties and methods. 7 */ 8 fromEntries<T = any>(entries: Iterable<readonly [PropertyKey, T]>): { [k: string]: T }; 9 10 /** 11 * Returns an object created by key-value entries for properties and methods 12 * @param entries An iterable object that contains key-value entries for properties and methods. 13 */ 14 fromEntries(entries: Iterable<readonly any[]>): any; 15} 16