fix cursor on findAsync

pull/54/head
Rob Mayer 5 months ago
parent c788549de1
commit 8fba526c00
  1. 2
      index.d.ts

2
index.d.ts vendored

@ -155,7 +155,7 @@ export namespace Nedb {
limit(n: number): Cursor<T>; limit(n: number): Cursor<T>;
projection(query: any): Cursor<T>; projection(query: any): Cursor<T>;
exec(callback: (err: Error | null, documents: Document<T>[]) => void): void; exec(callback: (err: Error | null, documents: Document<T>[]) => void): void;
execAsync(): Promise<Document<T>>; execAsync(): Promise<Document<T>[]>;
} }
export interface CursorCount { export interface CursorCount {

Loading…
Cancel
Save