mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* [@types/bson] Updated BSON class definitions * Updated BSON.serialize (changed the way how options are passed) * Updated BSON.deserialize (added missing options, removed `isArray` argument) * Added BSON.serializeWithBufferAndIndex * Added BSON.deserializeStream * [@types/bson] Updated BSON types * Binary: Made static constants 'readonly', added comments * ObjectID: 'equals' can accept string, added comments * Code, DBRef, Double, Decimal128, MaxKey, MinKey, ObjectID, BSONRegExp, Symbol: Added comments * [@types/bson] Updated Long & Timestamp BSON types * In original js-node@1.0.x code 'Timestamp' is a 100% copy-paste of 'Long' with 'Long' replaced by 'Timestamp' (changed to inheritance in js-node@2.0.0). Do avoid duplication in typings a base class 'LongLike' was introduced and both 'Long' and 'Timestamp' are inherited from 'LongLike'. * Made static constants 'readonly', fixed return-type for greaterThan and greaterThanOrEqual (boolean), renamed argument for shiftLeft, shiftRight, shiftRightUnsigned, added comments * [@types/bson] Changed header version number to 1.0.6 |
||
|---|---|---|
| .. | ||
| bson-tests.ts | ||
| index.d.ts | ||
| tsconfig.json | ||
| tslint.json | ||