diff --git a/index.d.ts b/index.d.ts index 800da98..fa58889 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,5 +1,5 @@ declare namespace QuickLRU { - interface Options { + interface Options { /** The maximum number of items before evicting the least recently used items. */ @@ -10,7 +10,7 @@ declare namespace QuickLRU { Useful for side effects or for items like object URLs that need explicit cleanup (`revokeObjectURL`). */ - onEviction?: (key: KeyType, value: ValueType) => void; + onEviction?: (key: KeyType, value: ValueType) => void; } } @@ -41,7 +41,7 @@ declare class QuickLRU //=> '🌈' ``` */ - constructor(options: QuickLRU.Options); + constructor(options: QuickLRU.Options); [Symbol.iterator](): IterableIterator<[KeyType, ValueType]>;