@@ -38,7 +38,7 @@ const api = [
3838 { className : 'Admin' , method : 'serverStatus' , returnType : 'Promise<Document>' } ,
3939 { className : 'Admin' , method : 'validateCollection' , returnType : 'Promise<Document>' } ,
4040
41- { className : 'AggregationCursor' , method : 'explain' , returnType : 'Promise<Document>' } ,
41+ { className : 'AggregationCursor' , method : 'explain' , returnType : 'Promise<Document>' , possibleCallbackPositions : [ 1 , 2 , 3 ] } ,
4242 { className : 'AggregationCursor' , method : 'clone' , returnType : 'AggregationCursor' , notAsync : true } ,
4343
4444 { className : 'FindCursor' , method : 'clone' , returnType : 'FindCursor' , notAsync : true } ,
@@ -115,7 +115,7 @@ const api = [
115115 { className : 'Db' , method : 'watch' , returnType : 'ChangeStream' , notAsync : true } ,
116116
117117 { className : 'FindCursor' , method : 'count' , returnType : 'Promise<number>' } ,
118- { className : 'FindCursor' , method : 'explain' , returnType : 'Promise<Document>' } ,
118+ { className : 'FindCursor' , method : 'explain' , returnType : 'Promise<Document>' , possibleCallbackPositions : [ 1 , 2 , 3 ] } ,
119119
120120 { className : 'GridFSBucket' , method : 'delete' , returnType : 'Promise<void>' , possibleCallbackPositions : [ 1 , 2 ] } ,
121121 { className : 'GridFSBucket' , method : 'drop' , returnType : 'Promise<void>' , possibleCallbackPositions : [ 1 , 2 ] } ,
0 commit comments