Skip to content

Commit

Permalink
fix: add access annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
nbbeeken committed Jan 12, 2023
1 parent b7c0e01 commit 3887429
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/bson_value.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 3887429

Please sign in to comment.