Skip to content

Commit

Permalink
Update index.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Mar 20, 2024
1 parent df9db3c commit aea12a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Expand Up @@ -279,7 +279,7 @@ declare module 'mongoose' {
*
* @remarks Search indexes are only supported when used against a 7.0+ Mongo Atlas cluster.
*/
searchIndex(description: mongodb.SearchIndexDescription): Promise<string>;
searchIndex(description: mongodb.SearchIndexDescription): this;

/**
* Returns a list of indexes that this schema declares, via `schema.index()`
Expand Down

0 comments on commit aea12a1

Please sign in to comment.