-
-
Save reggi/0cc5d1b28969961629513640c9bd3cc2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> mongodb@4.0.0-beta.0 build:ts /Users/thomasreggi/Desktop/git/mongodb/node-mongodb-native | |
> rimraf lib && tsc | |
src/bson.ts:32:15 - error TS2305: Module '"../node_modules/@types/bson"' has no exported member 'SerializeOptions'. | |
32 import type { SerializeOptions } from 'bson'; | |
~~~~~~~~~~~~~~~~ | |
src/bulk/common.ts:604:18 - error TS2339: Property 'checkKeys' does not exist on type '{ ordered: boolean; } & BulkWriteOptions'. | |
604 finalOptions.checkKeys = false; | |
~~~~~~~~~ | |
src/bulk/common.ts:997:33 - error TS2339: Property 'checkKeys' does not exist on type 'BulkWriteOptions'. | |
997 checkKeys: typeof options.checkKeys === 'boolean' ? options.checkKeys : true | |
~~~~~~~~~ | |
src/bulk/common.ts:997:67 - error TS2339: Property 'checkKeys' does not exist on type 'BulkWriteOptions'. | |
997 checkKeys: typeof options.checkKeys === 'boolean' ? options.checkKeys : true | |
~~~~~~~~~ | |
src/cmap/wire_protocol/command.ts:105:51 - error TS2345: Argument of type 'Timestamp' is not assignable to parameter of type 'string | number | Long'. | |
Type 'Timestamp' is not assignable to type 'Long'. | |
Types of property '_bsontype' are incompatible. | |
Type '"Timestamp"' is not assignable to type '"Long"'. | |
105 session.clusterTime.clusterTime.greaterThan(clusterTime.clusterTime) | |
~~~~~~~~~~~~~~~~~~~~~~~ | |
src/operations/find_and_modify.ts:113:13 - error TS2339: Property 'checkKeys' does not exist on type 'FindAndModifyOptions'. | |
113 options.checkKeys = false; | |
~~~~~~~~~ | |
src/sdam/common.ts:75:46 - error TS2345: Argument of type 'Timestamp' is not assignable to parameter of type 'string | number | Long'. | |
Type 'Timestamp' is not assignable to type 'Long'. | |
75 if ($clusterTime.clusterTime.greaterThan(topology.clusterTime.clusterTime)) { | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
src/sessions.ts:175:35 - error TS2345: Argument of type 'Timestamp' is not assignable to parameter of type 'string | number | Long'. | |
Type 'Timestamp' is not assignable to type 'Long'. | |
175 if (operationTime.greaterThan(this.operationTime)) { | |
~~~~~~~~~~~~~~~~~~ | |
src/sessions.ts:194:30 - error TS2339: Property 'equals' does not exist on type 'BinarySequence'. | |
Property 'equals' does not exist on type 'number[]'. | |
194 return this.id.id.buffer.equals(session.id.id.buffer); | |
~~~~~~ | |
Found 9 errors. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment