diff --git a/index.d.ts b/index.d.ts index 6da2701..4053ee1 100644 --- a/index.d.ts +++ b/index.d.ts @@ -24,10 +24,10 @@ export class MinimongoDb { getCollectionNames(): string[] localDb?: MinimongoDb remoteDb?: MinimongoDb - collections: { [collectionName: string]: MinimongoCollection } + collections: { [collectionName: string]: MinimongoCollection } } -export interface MinimongoCollection { +export interface MinimongoCollection { find(selector: any, options?: MinimongoCollectionFindOptions): { fetch(success: (items: ItemType[]) => void, error: (err: any) => void): void }