File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ export interface ConnectionOptions
138138 tls : boolean ;
139139 noDelay ?: boolean ;
140140 socketTimeoutMS ?: number ;
141- /** @internal */
141+ /** @deprecated - Will be removed in a future major release. Users should use AbortSignal instead. */
142142 cancellationToken ?: CancellationToken ;
143143 metadata : ClientMetadata ;
144144 /** @internal */
Original file line number Diff line number Diff line change @@ -208,10 +208,6 @@ expectType<FindCursor<WithId<{ color: string }>>>(
208208colorCollection . find < { color : string } > ( { color : { $in : colorsFreeze } } ) ;
209209colorCollection . find < { color : string } > ( { color : { $in : [ 'regularArray' ] } } ) ;
210210
211- // This is a regression test that we don't remove the unused generic in FindOptions
212- const findOptions : FindOptions = { } ;
213- expectType < FindOptions > ( findOptions ) ;
214-
215211// Ensure users can create a custom Db type that only contains specific
216212// collections (which are, in turn, strongly typed):
217213type Person = {
You can’t perform that action at this time.
0 commit comments