diff --git a/index.d.ts b/index.d.ts index 1bb76c9..83bd978 100644 --- a/index.d.ts +++ b/index.d.ts @@ -155,7 +155,7 @@ export namespace Nedb { limit(n: number): Cursor; projection(query: any): Cursor; exec(callback: (err: Error | null, documents: Document[]) => void): void; - execAsync(): Promise[]>; + execAsync(): Promise>; } export interface CursorCount {