Skip to content

Commit c003671

Browse files
Removed extraneous symbol.for
1 parent ca773fd commit c003671

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/symbol.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,6 @@ export class BSONSymbol extends BSONValue {
4848
return new BSONSymbol(doc.$symbol);
4949
}
5050

51-
/** @internal */
52-
[Symbol.for('nodejs.util.inspect.custom')](
53-
depth?: number,
54-
options?: unknown,
55-
inspect?: InspectParameterFn
56-
): string {
57-
return this.inspect(depth, options, inspect);
58-
}
59-
6051
inspect(depth?: number, options?: unknown, inspect?: InspectParameterFn): string {
6152
const addQuotes = !inspect;
6253
inspect ??= defaultInspect;

0 commit comments

Comments
 (0)