We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12d0060 commit 3d490dcCopy full SHA for 3d490dc
src/change_stream.ts
@@ -189,7 +189,9 @@ export type ChangeStreamEvents = {
189
* Creates a new Change Stream instance. Normally created using {@link Collection#watch|Collection.watch()}.
190
* @public
191
*/
192
-export class ChangeStream<TSchema extends Document> extends TypedEventEmitter<ChangeStreamEvents> {
+export class ChangeStream<TSchema extends Document = Document> extends TypedEventEmitter<
193
+ ChangeStreamEvents
194
+> {
195
pipeline: Document[];
196
options: ChangeStreamOptions;
197
parent: MongoClient | Db | Collection;
0 commit comments