Skip to content

Commit d1ff3c6

Browse files
committed
fix: lint
1 parent f7f90a1 commit d1ff3c6

File tree

4 files changed

+1
-11
lines changed

4 files changed

+1
-11
lines changed

src/collection.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ import {
5252
FindOneAndUpdateOperation,
5353
type FindOneAndUpdateOptions
5454
} from './operations/find_and_modify';
55-
import { FindOneOperation } from './operations/find_one_operation';
5655
import {
5756
CreateIndexesOperation,
5857
type CreateIndexesOptions,

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,7 @@ export type {
529529
FindOneAndReplaceOptions,
530530
FindOneAndUpdateOptions
531531
} from './operations/find_and_modify';
532+
export type { FindOneOptions } from './operations/find_one';
532533
export type { IndexInformationOptions } from './operations/indexes';
533534
export type {
534535
CreateIndexesOptions,

src/operations/find.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,6 @@ export interface FindOptions<TSchema extends Document = Document>
8181
timeoutMode?: CursorTimeoutMode;
8282
}
8383

84-
/** @public */
85-
export interface FindOneOptions extends FindOptions {
86-
/** @deprecated Will be removed in the next major version. User provided value will be ignored. */
87-
batchSize?: number;
88-
/** @deprecated Will be removed in the next major version. User provided value will be ignored. */
89-
limit?: number;
90-
/** @deprecated Will be removed in the next major version. User provided value will be ignored. */
91-
noCursorTimeout?: boolean;
92-
}
93-
9484
/** @internal */
9585
export class FindOperation extends CommandOperation<CursorResponse> {
9686
/**
File renamed without changes.

0 commit comments

Comments
 (0)