We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9180a9a commit 0fd2f12Copy full SHA for 0fd2f12
src/cursor/abstract_cursor.ts
@@ -532,7 +532,7 @@ export abstract class AbstractCursor<
532
const oldTransform = this[kTransform] as (doc: TSchema) => TSchema; // TODO(NODE-3283): Improve transform typing
533
if (oldTransform) {
534
this[kTransform] = doc => {
535
- return this.makeSafeTransform(transform)(oldTransform(doc));
+ return transform(oldTransform(doc));
536
};
537
} else {
538
this[kTransform] = transform;
0 commit comments