Fix extra spaces in previous commit (mongoose-posthook-overload)

This commit is contained in:
Wose
2018-11-22 11:35:25 -05:00
parent 7191616daf
commit 402324af7b
+2 -2
View File
@@ -811,8 +811,8 @@ declare module "mongoose" {
* @param fn callback
*/
post<T extends Document>(method: string, fn: (
doc: T, next: (err?: NativeError) => void
) => void): this;
doc: T, next: (err?: NativeError) => void
) => void): this;
post<T extends Document>(method: string, fn: (
error: mongodb.MongoError, doc: T, next: (err?: NativeError) => void