diff --git a/index.d.ts b/index.d.ts index 83bd978..1bb76c9 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 {