UNPKG

nedb-async

Version:

Promise wrapper for Nedb that makes it possible to use all Nedb all cursor modifiers.

3 lines (2 loc) 174 B
export declare function promisefy<T>(name: string, args: IArguments): Promise<T[] | T>; export declare function justPromise(name: string, arg: IArguments): Promise<unknown>;