fix a typo

This commit is contained in:
Shenghan Gao
2018-04-05 10:23:58 -07:00
parent 919977b304
commit 0104de2334
+1 -1
View File
@@ -2619,7 +2619,7 @@ declare module "mongoose" {
insertMany(docs: any[], callback?: (error: any, docs: T[]) => void): Promise<T[]>;
insertMany(docs: any[], options?: { ordered?: boolean, rawResult?: boolean }, callback?: (error: any, docs: T[]) => void): Promise<T[]>;
insertMany(doc: any, callback?: (error: any, doc: T) => void): Promise<T>;
insertMany(doc: any, options?: { rdered?: boolean, rawResult?: boolean }, callback?: (error: any, doc: T) => void): Promise<T>;
insertMany(doc: any, options?: { ordered?: boolean, rawResult?: boolean }, callback?: (error: any, doc: T) => void): Promise<T>;
/**
* Executes a mapReduce command.