Skip to content

Commit ea394cb

Browse files
tadjik1nbbeeken
andauthored
Apply suggestions from code review
Co-authored-by: Neal Beeken <[email protected]>
1 parent adcdc4f commit ea394cb

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export {
8787
MongoWriteConcernError,
8888
WriteConcernErrorResult
8989
} from './error';
90-
export { TokenBucket } from './token_bucket';
90+
export type { TokenBucket } from './token_bucket';
9191
export {
9292
AbstractCursor,
9393
// Actual driver classes exported

src/operations/operation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ export abstract class AbstractOperation<TResult = any> {
6666
/** Specifies the time an operation will run until it throws a timeout error. */
6767
timeoutMS?: number;
6868

69-
/** @internal Used by commitTransaction to share the retry budget across two executeOperation calls. */
69+
/** Used by commitTransaction to share the retry budget across two executeOperation calls. */
7070
maxAttempts?: number;
7171

72-
/** @internal Tracks how many attempts were made in the last executeOperation call. */
72+
/** Tracks how many attempts were made in the last executeOperation call. */
7373
attemptsMade?: number;
7474

7575
private _session: ClientSession | undefined;

0 commit comments

Comments
 (0)