Skip to content

Commit bf60a68

Browse files
vkarpov15hasezoey
andauthored
Update lib/helpers/model/applyHooks.js
Co-authored-by: hasezoey <hasezoey@gmail.com>
1 parent 37896da commit bf60a68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/helpers/model/applyHooks.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ function applyHooks(model, schema, options) {
156156
* arrays and maps in case of array of array of subdocs or map of subdocs.
157157
*
158158
* @param {SchemaType} curType
159-
* @returns { childModel: Model | typeof Subdocument, curType: SchemaType } | null
159+
* @returns {{ childModel: Model | typeof Subdocument, curType: SchemaType } | null}
160160
*/
161161

162162
function findChildModel(curType) {

0 commit comments

Comments
 (0)