Skip to content

Commit dfcf905

Browse files
fix: fix lint error in doc string
1 parent 2847892 commit dfcf905

File tree

9 files changed

+20
-20
lines changed

9 files changed

+20
-20
lines changed

src/change_stream.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,10 +406,10 @@ export interface ChangeStreamCursorOptions extends AbstractCursorOptions {
406406
/**
407407
* Comment to apply to the operation.
408408
*
409-
* In server versions <4.4, 'comment' must be string. A server
409+
* In server versions pre-4.4, 'comment' must be string. A server
410410
* error will be thrown if any other type is provided.
411411
*
412-
* In server versions >=4.4, 'comment' can be any valid BSON type.
412+
* In server versions 4.4 and above, 'comment' can be any valid BSON type.
413413
*/
414414
comment?: any;
415415
}

src/cmap/connection.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,10 @@ export interface GetMoreOptions extends CommandOptions {
127127
/**
128128
* Comment to apply to the operation.
129129
*
130-
* In server versions <4.4, 'comment' must be string. A server
130+
* In server versions pre-4.4, 'comment' must be string. A server
131131
* error will be thrown if any other type is provided.
132132
*
133-
* In server versions >=4.4, 'comment' can be any valid BSON type.
133+
* In server versions 4.4 and above, 'comment' can be any valid BSON type.
134134
*/
135135
comment?: any;
136136
}

src/cursor/abstract_cursor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ export interface AbstractCursorOptions extends BSONSerializeOptions {
8080
/**
8181
* Comment to apply to the operation.
8282
*
83-
* In server versions <4.4, 'comment' must be string. A server
83+
* In server versions pre-4.4, 'comment' must be string. A server
8484
* error will be thrown if any other type is provided.
8585
*
86-
* In server versions >=4.4, 'comment' can be any valid BSON type.
86+
* In server versions 4.4 and above, 'comment' can be any valid BSON type.
8787
*/
8888
comment?: any;
8989
tailable?: boolean;

src/operations/aggregate.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ export interface AggregateOptions extends CommandOperationOptions {
3434
/**
3535
* Comment to apply to the operation.
3636
*
37-
* In server versions <4.4, 'comment' must be string. A server
37+
* In server versions pre-4.4, 'comment' must be string. A server
3838
* error will be thrown if any other type is provided.
3939
*
40-
* In server versions >=4.4, 'comment' can be any valid BSON type.
40+
* In server versions 4.4 and above, 'comment' can be any valid BSON type.
4141
*/
4242
comment?: any;
4343

src/operations/command.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ export interface CommandOperationOptions
4848
/**
4949
* Comment to apply to the operation.
5050
*
51-
* In server versions <4.4, 'comment' must be string. A server
51+
* In server versions pre-4.4, 'comment' must be string. A server
5252
* error will be thrown if any other type is provided.
5353
*
54-
* In server versions >=4.4, 'comment' can be any valid BSON type.
54+
* In server versions 4.4 and above, 'comment' can be any valid BSON type.
5555
*/
5656
comment?: any;
5757
/** Should retry failed writes */

src/operations/delete.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ export interface DeleteOptions extends CommandOperationOptions, WriteConcernOpti
1515
/**
1616
* Comment to apply to the operation.
1717
*
18-
* In server versions <4.4, 'comment' must be string. A server
18+
* In server versions pre-4.4, 'comment' must be string. A server
1919
* error will be thrown if any other type is provided.
2020
*
21-
* In server versions >=4.4, 'comment' can be any valid BSON type.
21+
* In server versions 4.4 and above, 'comment' can be any valid BSON type.
2222
*/
2323
comment?: any;
2424
/** Specifies the collation to use for the operation */
@@ -53,10 +53,10 @@ export interface DeleteStatement {
5353
/**
5454
* Comment to apply to the operation.
5555
*
56-
* In server versions <4.4, 'comment' must be string. A server
56+
* In server versions pre-4.4, 'comment' must be string. A server
5757
* error will be thrown if any other type is provided.
5858
*
59-
* In server versions >=4.4, 'comment' can be any valid BSON type.
59+
* In server versions 4.4 and above, 'comment' can be any valid BSON type.
6060
*/
6161
comment?: any;
6262
}

src/operations/find.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ export interface FindOptions<TSchema extends Document = Document> extends Comman
4949
/**
5050
* Comment to apply to the operation.
5151
*
52-
* In server versions <4.4, 'comment' must be string. A server
52+
* In server versions pre-4.4, 'comment' must be string. A server
5353
* error will be thrown if any other type is provided.
5454
*
55-
* In server versions >=4.4, 'comment' can be any valid BSON type.
55+
* In server versions 4.4 and above, 'comment' can be any valid BSON type.
5656
*/
5757
comment?: any;
5858
/** Number of milliseconds to wait before aborting the query. */

src/operations/find_and_modify.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ interface FindAndModifyCmdBase {
8585
/**
8686
* Comment to apply to the operation.
8787
*
88-
* In server versions <4.4, 'comment' must be string. A server
88+
* In server versions pre-4.4, 'comment' must be string. A server
8989
* error will be thrown if any other type is provided.
9090
*
91-
* In server versions >=4.4, 'comment' can be any valid BSON type.
91+
* In server versions 4.4 and above, 'comment' can be any valid BSON type.
9292
*/
9393
comment?: any;
9494
}

src/operations/get_more.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ export interface GetMoreOptions extends OperationOptions {
1515
/**
1616
* Comment to apply to the operation.
1717
*
18-
* In server versions <4.4, 'comment' must be string. A server
18+
* In server versions pre-4.4, 'comment' must be string. A server
1919
* error will be thrown if any other type is provided.
2020
*
21-
* In server versions >=4.4, 'comment' can be any valid BSON type.
21+
* In server versions 4.4 and above, 'comment' can be any valid BSON type.
2222
*/
2323
comment?: any;
2424
/** Number of milliseconds to wait before aborting the query. */

0 commit comments

Comments
 (0)