File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ export interface ChangeStreamDocumentCommon {
189
189
* The format is "YYYY-MM-DD HH:MM.SS.millis".
190
190
* @sinceServerVersion 6.0.0
191
191
*/
192
- wallTime ?: string ;
192
+ wallTime ?: Date ;
193
193
194
194
/**
195
195
* The transaction number.
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ expectType<ResumeToken>(change._id);
63
63
expectType < Timestamp | undefined > ( change . clusterTime ) ;
64
64
expectType < number | undefined > ( change . txnNumber ) ; // Could be a Long if promoteLongs is off
65
65
expectType < ServerSessionId | undefined > ( change . lsid ) ;
66
- expectType < string | undefined > ( change . wallTime ) ;
66
+ expectType < Date | undefined > ( change . wallTime ) ;
67
67
68
68
type CrudChangeDoc =
69
69
| ChangeStreamInsertDocument < Schema > // C
You can’t perform that action at this time.
0 commit comments