diff --git a/lru.d.ts b/lru.d.ts index 8672c72..3dcf879 100644 --- a/lru.d.ts +++ b/lru.d.ts @@ -61,7 +61,7 @@ export class LRUMap { values() : Iterator; // Returns an iterator over all entries, starting with the oldest. - entries() : Iterator<[K,V]>; + entries() : Iterable<[K,V]>; // Returns an iterator over all entries, starting with the oldest. [Symbol.iterator]() : Iterator<[K,V]>;