Skip to content

Commit 220787d

Browse files
deprecate noresponse
1 parent 6e240d4 commit 220787d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/operations/command.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ export interface CollationOptions {
3434
/** @public */
3535
export interface CommandOperationOptions
3636
extends OperationOptions,
37-
WriteConcernOptions,
38-
ExplainOptions {
37+
WriteConcernOptions,
38+
ExplainOptions {
3939
/** Specify a read concern and level for the collection. (only MongoDB 3.2 or higher supported) */
4040
readConcern?: ReadConcernLike;
4141
/** Collation */
@@ -59,6 +59,10 @@ export interface CommandOperationOptions
5959
// Admin command overrides.
6060
dbName?: string;
6161
authdb?: string;
62+
/**
63+
* @deprecated
64+
* This option is deprecated and will be removed in an upcoming major version.
65+
*/
6266
noResponse?: boolean;
6367
}
6468

0 commit comments

Comments
 (0)