Skip to content

Commit 4a9fda4

Browse files
committed
chore: comments
1 parent c2e6fae commit 4a9fda4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/operations/indexes.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,8 @@ export class DropIndexOperation extends CommandOperation<Document> {
356356
export type ListIndexesOptions = AbstractCursorOptions & {
357357
/** @internal */
358358
omitMaxTimeMS?: boolean;
359+
/** @internal */
360+
rawData?: boolean;
359361
};
360362

361363
/** @internal */
@@ -368,7 +370,7 @@ export class ListIndexesOperation extends CommandOperation<CursorResponse> {
368370
* This allows typescript to delete the key but will
369371
* not allow a writeConcern to be assigned as a property on options.
370372
*/
371-
override options: ListIndexesOptions & { writeConcern?: never; rawData?: boolean };
373+
override options: ListIndexesOptions & { writeConcern?: never };
372374
collectionNamespace: MongoDBNamespace;
373375

374376
constructor(collection: Collection, options?: ListIndexesOptions) {

0 commit comments

Comments
 (0)