From 38874290d35c53c4d92ee7f70a5bc2da5f828dec Mon Sep 17 00:00:00 2001 From: Neal Beeken Date: Wed, 11 Jan 2023 20:59:03 -0500 Subject: [PATCH] fix: add access annotations --- src/bson_value.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/bson_value.ts b/src/bson_value.ts index e436f39d..fdb5f82a 100644 --- a/src/bson_value.ts +++ b/src/bson_value.ts @@ -2,13 +2,17 @@ import { BSON_MAJOR_VERSION } from './constants'; /** @public */ export abstract class BSONValue { - abstract get _bsontype(): string; + /** @public */ + public abstract get _bsontype(): string; /** @internal */ get [Symbol.for('@@mdb.bson.version')](): BSON_MAJOR_VERSION { return BSON_MAJOR_VERSION; } - abstract inspect(): string; + /** @public */ + public abstract inspect(): string; + + /** @internal */ abstract toExtendedJSON(): unknown; }