Skip to content

Commit

Permalink
docs: add tsdoc for recompileSchema()
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Feb 6, 2024
1 parent d18878b commit e332479
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/models.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,7 @@ declare module 'mongoose' {
options?: (mongodb.ReplaceOptions & MongooseQueryOptions<TRawDocType>) | null
): QueryWithHelpers<UpdateWriteOpResult, ResultDoc, TQueryHelpers, TRawDocType, 'replaceOne'>;

/** Apply changes made to this model's schema after this model was compiled. */
recompileSchema(): void;

/** Schema the model uses. */
Expand Down

0 comments on commit e332479

Please sign in to comment.