From 91902aa68af3f5c2d5b32270d8ed50f4e869e9ab Mon Sep 17 00:00:00 2001 From: Bailey Pearson Date: Wed, 18 May 2022 14:02:49 -0400 Subject: [PATCH] adjust Document in schema to TSchema --- src/change_stream.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/change_stream.ts b/src/change_stream.ts index 4f0e04b40c5..305ad086a13 100644 --- a/src/change_stream.ts +++ b/src/change_stream.ts @@ -271,7 +271,7 @@ export interface ChangeStreamUpdateDocument * when creating the change stream. If 'whenAvailable' was specified but the * pre-image is unavailable, this will be explicitly set to null. */ - fullDocumentBeforeChange?: Document; + fullDocumentBeforeChange?: TSchema; } /** @@ -294,7 +294,7 @@ export interface ChangeStreamReplaceDocument * when creating the change stream. If 'whenAvailable' was specified but the * pre-image is unavailable, this will be explicitly set to null. */ - fullDocumentBeforeChange?: Document; + fullDocumentBeforeChange?: TSchema; } /**