File tree Expand file tree Collapse file tree 3 files changed +36
-3
lines changed Expand file tree Collapse file tree 3 files changed +36
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,40 @@ import { BSONSymbol } from './symbol';
21
21
import { Timestamp } from './timestamp' ;
22
22
export { BinaryExtended , BinaryExtendedLegacy , BinarySequence } from './binary' ;
23
23
export { CodeExtended } from './code' ;
24
- export * from './constants' ;
24
+ export {
25
+ BSON_BINARY_SUBTYPE_BYTE_ARRAY ,
26
+ BSON_BINARY_SUBTYPE_DEFAULT ,
27
+ BSON_BINARY_SUBTYPE_FUNCTION ,
28
+ BSON_BINARY_SUBTYPE_MD5 ,
29
+ BSON_BINARY_SUBTYPE_USER_DEFINED ,
30
+ BSON_BINARY_SUBTYPE_UUID ,
31
+ BSON_BINARY_SUBTYPE_UUID_NEW ,
32
+ BSON_DATA_ARRAY ,
33
+ BSON_DATA_BINARY ,
34
+ BSON_DATA_BOOLEAN ,
35
+ BSON_DATA_CODE ,
36
+ BSON_DATA_CODE_W_SCOPE ,
37
+ BSON_DATA_DATE ,
38
+ BSON_DATA_DBPOINTER ,
39
+ BSON_DATA_DECIMAL128 ,
40
+ BSON_DATA_INT ,
41
+ BSON_DATA_LONG ,
42
+ BSON_DATA_MAX_KEY ,
43
+ BSON_DATA_MIN_KEY ,
44
+ BSON_DATA_NULL ,
45
+ BSON_DATA_NUMBER ,
46
+ BSON_DATA_OBJECT ,
47
+ BSON_DATA_OID ,
48
+ BSON_DATA_REGEXP ,
49
+ BSON_DATA_STRING ,
50
+ BSON_DATA_SYMBOL ,
51
+ BSON_DATA_TIMESTAMP ,
52
+ BSON_DATA_UNDEFINED ,
53
+ BSON_INT32_MAX ,
54
+ BSON_INT32_MIN ,
55
+ BSON_INT64_MAX ,
56
+ BSON_INT64_MIN
57
+ } from './constants' ;
25
58
export { DBRefLike } from './db_ref' ;
26
59
export { Decimal128Extended } from './decimal128' ;
27
60
export { DoubleExtended } from './double' ;
Original file line number Diff line number Diff line change @@ -560,7 +560,7 @@ export class Long {
560
560
}
561
561
/** This is an alias of {@link Long.greaterThanOrEqual} */
562
562
ge ( other : string | number | Long | Timestamp ) : boolean {
563
- return this . greaterThan ( other ) ;
563
+ return this . greaterThanOrEqual ( other ) ;
564
564
}
565
565
566
566
/** Tests if this Long's value is even. */
Original file line number Diff line number Diff line change 14
14
],
15
15
"outDir" : " lib" ,
16
16
// We don't make use of tslib helpers
17
- "importHelpers" : true ,
17
+ "importHelpers" : false ,
18
18
"noEmitHelpers" : false ,
19
19
"noEmitOnError" : true ,
20
20
// make use of import type where applicable
You can’t perform that action at this time.
0 commit comments