Skip to content

Commit 51d968c

Browse files
authored
fix duplicated symbol in compiled binary (#248)
1 parent 6e5f065 commit 51d968c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/shell-api/src/enums.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const DBQuery = {
3737
Option: DBQueryOption
3838
};
3939

40-
export const shellApiType = Symbol('shellApiType');
40+
export const shellApiType = Symbol.for('@@mongosh.shellApiType');
4141
// TODO: Would require changes to java-shell
4242
// export const asPrintable = Symbol('asPrintable');
43-
export const asShellResult = Symbol('asShellResult');
43+
export const asShellResult = Symbol.for('@@mongosh.asShellResult');

0 commit comments

Comments
 (0)