File size: 402 Bytes
4888678 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | import { BSON_MAJOR_VERSION } from './constants';
/** @public */
export abstract class BSONValue {
/** @public */
public abstract get _bsontype(): string;
/** @internal */
get [Symbol.for('@@mdb.bson.version')](): typeof BSON_MAJOR_VERSION {
return BSON_MAJOR_VERSION;
}
/** @public */
public abstract inspect(): string;
/** @internal */
abstract toExtendedJSON(): unknown;
}
|