Skip to content

Commit

Permalink
fix: fix lint error in doc string
Browse files Browse the repository at this point in the history
  • Loading branch information
baileympearson committed Mar 14, 2022
1 parent 2847892 commit dfcf905
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions src/change_stream.ts
Expand Up @@ -406,10 +406,10 @@ export interface ChangeStreamCursorOptions extends AbstractCursorOptions {
/**
* Comment to apply to the operation.
*
* In server versions <4.4, 'comment' must be string. A server
* In server versions pre-4.4, 'comment' must be string. A server
* error will be thrown if any other type is provided.
*
* In server versions >=4.4, 'comment' can be any valid BSON type.
* In server versions 4.4 and above, 'comment' can be any valid BSON type.
*/
comment?: any;
}
Expand Down
4 changes: 2 additions & 2 deletions src/cmap/connection.ts
Expand Up @@ -127,10 +127,10 @@ export interface GetMoreOptions extends CommandOptions {
/**
* Comment to apply to the operation.
*
* In server versions <4.4, 'comment' must be string. A server
* In server versions pre-4.4, 'comment' must be string. A server
* error will be thrown if any other type is provided.
*
* In server versions >=4.4, 'comment' can be any valid BSON type.
* In server versions 4.4 and above, 'comment' can be any valid BSON type.
*/
comment?: any;
}
Expand Down
4 changes: 2 additions & 2 deletions src/cursor/abstract_cursor.ts
Expand Up @@ -80,10 +80,10 @@ export interface AbstractCursorOptions extends BSONSerializeOptions {
/**
* Comment to apply to the operation.
*
* In server versions <4.4, 'comment' must be string. A server
* In server versions pre-4.4, 'comment' must be string. A server
* error will be thrown if any other type is provided.
*
* In server versions >=4.4, 'comment' can be any valid BSON type.
* In server versions 4.4 and above, 'comment' can be any valid BSON type.
*/
comment?: any;
tailable?: boolean;
Expand Down
4 changes: 2 additions & 2 deletions src/operations/aggregate.ts
Expand Up @@ -34,10 +34,10 @@ export interface AggregateOptions extends CommandOperationOptions {
/**
* Comment to apply to the operation.
*
* In server versions <4.4, 'comment' must be string. A server
* In server versions pre-4.4, 'comment' must be string. A server
* error will be thrown if any other type is provided.
*
* In server versions >=4.4, 'comment' can be any valid BSON type.
* In server versions 4.4 and above, 'comment' can be any valid BSON type.
*/
comment?: any;

Expand Down
4 changes: 2 additions & 2 deletions src/operations/command.ts
Expand Up @@ -48,10 +48,10 @@ export interface CommandOperationOptions
/**
* Comment to apply to the operation.
*
* In server versions <4.4, 'comment' must be string. A server
* In server versions pre-4.4, 'comment' must be string. A server
* error will be thrown if any other type is provided.
*
* In server versions >=4.4, 'comment' can be any valid BSON type.
* In server versions 4.4 and above, 'comment' can be any valid BSON type.
*/
comment?: any;
/** Should retry failed writes */
Expand Down
8 changes: 4 additions & 4 deletions src/operations/delete.ts
Expand Up @@ -15,10 +15,10 @@ export interface DeleteOptions extends CommandOperationOptions, WriteConcernOpti
/**
* Comment to apply to the operation.
*
* In server versions <4.4, 'comment' must be string. A server
* In server versions pre-4.4, 'comment' must be string. A server
* error will be thrown if any other type is provided.
*
* In server versions >=4.4, 'comment' can be any valid BSON type.
* In server versions 4.4 and above, 'comment' can be any valid BSON type.
*/
comment?: any;
/** Specifies the collation to use for the operation */
Expand Down Expand Up @@ -53,10 +53,10 @@ export interface DeleteStatement {
/**
* Comment to apply to the operation.
*
* In server versions <4.4, 'comment' must be string. A server
* In server versions pre-4.4, 'comment' must be string. A server
* error will be thrown if any other type is provided.
*
* In server versions >=4.4, 'comment' can be any valid BSON type.
* In server versions 4.4 and above, 'comment' can be any valid BSON type.
*/
comment?: any;
}
Expand Down
4 changes: 2 additions & 2 deletions src/operations/find.ts
Expand Up @@ -49,10 +49,10 @@ export interface FindOptions<TSchema extends Document = Document> extends Comman
/**
* Comment to apply to the operation.
*
* In server versions <4.4, 'comment' must be string. A server
* In server versions pre-4.4, 'comment' must be string. A server
* error will be thrown if any other type is provided.
*
* In server versions >=4.4, 'comment' can be any valid BSON type.
* In server versions 4.4 and above, 'comment' can be any valid BSON type.
*/
comment?: any;
/** Number of milliseconds to wait before aborting the query. */
Expand Down
4 changes: 2 additions & 2 deletions src/operations/find_and_modify.ts
Expand Up @@ -85,10 +85,10 @@ interface FindAndModifyCmdBase {
/**
* Comment to apply to the operation.
*
* In server versions <4.4, 'comment' must be string. A server
* In server versions pre-4.4, 'comment' must be string. A server
* error will be thrown if any other type is provided.
*
* In server versions >=4.4, 'comment' can be any valid BSON type.
* In server versions 4.4 and above, 'comment' can be any valid BSON type.
*/
comment?: any;
}
Expand Down
4 changes: 2 additions & 2 deletions src/operations/get_more.ts
Expand Up @@ -15,10 +15,10 @@ export interface GetMoreOptions extends OperationOptions {
/**
* Comment to apply to the operation.
*
* In server versions <4.4, 'comment' must be string. A server
* In server versions pre-4.4, 'comment' must be string. A server
* error will be thrown if any other type is provided.
*
* In server versions >=4.4, 'comment' can be any valid BSON type.
* In server versions 4.4 and above, 'comment' can be any valid BSON type.
*/
comment?: any;
/** Number of milliseconds to wait before aborting the query. */
Expand Down

0 comments on commit dfcf905

Please sign in to comment.