export default dictItems; export type DictItems = Array<{ [Key in keyof T]: [Key, T[Key]]; }[keyof T]>; /** * @template T * @typedef {Array<{ [Key in keyof T]: [Key, T[Key]] }[keyof T]>} DictItems */ /** * Return an array of (key,value) pairs that are present in this * dictionary * * TODO(Trevor): Replace with `Object.entries`? * * @template {object} T * @param {T} dictionary * * @returns {DictItems} */ declare function dictItems(dictionary: T): DictItems;