Skip to content

Commit 59beaa8

Browse files
authored
fix(shell-api): add Double to forwarded BSON types (#662)
1 parent af88980 commit 59beaa8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/shell-api/src/shell-bson.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@ export default function constructShellBson(bson: typeof BSON): any {
171171
BSONSymbol: bson.BSONSymbol,
172172
Int32: bson.Int32,
173173
Long: bson.Long,
174-
Binary: bson.Binary
174+
Binary: bson.Binary,
175+
Double: bson.Double
175176
} as any;
176177

177178
Object.keys(bsonPkg).forEach((className) => {

0 commit comments

Comments
 (0)