fixed typo readPreference(s)

This commit is contained in:
Arkadiusz Filipczak
2014-09-26 06:43:54 +02:00
parent 9f319d3c5b
commit 3cc0a3ec6b
+4 -4
View File
@@ -272,11 +272,11 @@ declare module "mongodb" {
update(selector: Object, document: any, options: { safe?: boolean; upsert?: any; multi?: boolean; serializeFunctions?: boolean; }, callback: (err: Error, result: any) => void): void;
distinct(key: string, query: Object, callback: (err: Error, result: any) => void): void;
distinct(key: string, query: Object, options: { readPreferences: string; }, callback: (err: Error, result: any) => void): void;
distinct(key: string, query: Object, options: { readPreference: string; }, callback: (err: Error, result: any) => void): void;
count(callback: (err: Error, result: any) => void): void;
count(query: Object, callback: (err: Error, result: any) => void): void;
count(query: Object, options: { readPreferences: string; }, callback: (err: Error, result: any) => void): void;
count(query: Object, options: { readPreference: string; }, callback: (err: Error, result: any) => void): void;
drop(callback?: (err: Error, result: any) => void): void;
@@ -429,7 +429,7 @@ declare module "mongodb" {
showDiskLoc?: boolean;
comment?: String;
raw?: boolean;
readPreferences?: String;
readPreference?: String;
partial?: boolean;
}
@@ -438,6 +438,6 @@ declare module "mongodb" {
serializeFunctions?: any;
raw?: boolean;
pkFactory?: any;
readPreferences?: string;
readPreference?: string;
}
}