UNPKG

@notesnook/localforage-getitems

Version:
23 lines (16 loc) 573 B
/// <reference types="localforage" /> interface LocalForageGetItemsResult { [key: string]: any; } interface ILocalForageWithGetItems { getItems(keys: string[] | null): Promise<LocalForageGetItemsResult>; getItems(): Promise<LocalForageGetItemsResult>; } interface LocalForage extends ILocalForageWithGetItems {} interface LocalForageWithGetItems extends LocalForage {} declare module "@notesnook/localforage-getitems" { export function extendPrototype( localforage: LocalForage ): LocalForageWithGetItems; export var extendPrototypeResult: boolean; }