Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
types(schema): add missing search index types
Support for MongoDB Atlas search indexes was added in [#14251](#14251) but the types for `Schema.searchIndex` and the `autoSearchIndex` option were missed. Add these types so that the typescript definitions match the capabilities of the JavaScript version of `mongoose`.
- Loading branch information
1 parent
e3f3205
commit df9db3c
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters