Skip to content

Commit 64ac6d9

Browse files
committed
fix: remove unnecessary cast
1 parent ad3efe5 commit 64ac6d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/service-provider-core/src/printable-bson.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function makeClasslessInspect<K extends BSONClassKey>(
3030
...args: Parameters<typeof originalInspect>
3131
) {
3232
return removeNewFromInspectResult(originalInspect.apply(this, args));
33-
} as CustomInspectFunction;
33+
};
3434
}
3535

3636
const binaryInspect = makeClasslessInspect('Binary');

0 commit comments

Comments
 (0)