-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
export const cacheable = new CacheableLookup({
cache: new QuickLRU({ maxSize: 1000 }),
});Type 'QuickLRU<string, EntryObject[] | Promise<EntryObject[] | undefined>>' is not assignable to type 'CacheInstance'.
Types of property 'set' are incompatible.
Type '(key: string, value: EntryObject[] | Promise<EntryObject[] | undefined>, options?: { maxAge?: number | undefined; } | undefined) => QuickLRU<string, EntryObject[] | Promise<...>>' is not assignable to type '(hostname: string, entries: EntryObject[], ttl: number) => TPromise<boolean | void | CacheInstance>'.
Types of parameters 'options' and 'ttl' are incompatible.
Type 'number' is not assignable to type '{ maxAge?: number | undefined; } | undefined'.ts(2322)
vinnymac
Metadata
Metadata
Assignees
Labels
No labels