File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ export interface ChangeStreamUpdateDocument<TSchema extends Document = Document>
271271 * when creating the change stream. If 'whenAvailable' was specified but the
272272 * pre-image is unavailable, this will be explicitly set to null.
273273 */
274- fullDocumentBeforeChange ?: Document ;
274+ fullDocumentBeforeChange ?: TSchema ;
275275}
276276
277277/**
@@ -294,7 +294,7 @@ export interface ChangeStreamReplaceDocument<TSchema extends Document = Document
294294 * when creating the change stream. If 'whenAvailable' was specified but the
295295 * pre-image is unavailable, this will be explicitly set to null.
296296 */
297- fullDocumentBeforeChange ?: Document ;
297+ fullDocumentBeforeChange ?: TSchema ;
298298}
299299
300300/**
@@ -315,7 +315,7 @@ export interface ChangeStreamDeleteDocument<TSchema extends Document = Document>
315315 * when creating the change stream. If 'whenAvailable' was specified but the
316316 * pre-image is unavailable, this will be explicitly set to null.
317317 */
318- fullDocumentBeforeChange ?: Document ;
318+ fullDocumentBeforeChange ?: TSchema ;
319319}
320320
321321/**
You can’t perform that action at this time.
0 commit comments