Skip to content

Commit e14e049

Browse files
committed
docs: quick fix for diffIndexes() api docs
1 parent db29929 commit e14e049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/model.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1501,7 +1501,7 @@ Model.syncIndexes = async function syncIndexes(options) {
15011501
* toCreate; // Array of strings containing names of indexes that `syncIndexes()` will create
15021502
*
15031503
* @param {Object} [options]
1504-
* @returns {Promise<{ toDrop: string[], toCreate: string[] }>} contains the indexes that would be dropped in MongoDB and indexes that would be created in MongoDB.
1504+
* @return {Promise<Object>} contains the indexes that would be dropped in MongoDB and indexes that would be created in MongoDB as `{ toDrop: string[], toCreate: string[] }`.
15051505
*/
15061506

15071507
Model.diffIndexes = async function diffIndexes() {

0 commit comments

Comments
 (0)