Skip to content

Commit

Permalink
docs: quick fix for diffIndexes() api docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Sep 10, 2023
1 parent db29929 commit e14e049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -1501,7 +1501,7 @@ Model.syncIndexes = async function syncIndexes(options) {
* toCreate; // Array of strings containing names of indexes that `syncIndexes()` will create
*
* @param {Object} [options]
* @returns {Promise<{ toDrop: string[], toCreate: string[] }>} contains the indexes that would be dropped in MongoDB and indexes that would be created in MongoDB.
* @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[] }`.
*/

Model.diffIndexes = async function diffIndexes() {
Expand Down

0 comments on commit e14e049

Please sign in to comment.