mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
remove @deprecated notice from find(query, options) (#37194)
This commit is contained in:
parent
7a123a7d47
commit
3d6738d37a
1
types/mongodb/index.d.ts
vendored
1
types/mongodb/index.d.ts
vendored
@ -928,7 +928,6 @@ export interface Collection<TSchema = Default> {
|
||||
estimatedDocumentCount(query: FilterQuery<TSchema>, options: MongoCountPreferences, callback: MongoCallback<number>): void;
|
||||
/** http://mongodb.github.io/node-mongodb-native/3.1/api/Collection.html#find */
|
||||
find<T = TSchema>(query?: FilterQuery<TSchema>): Cursor<T>;
|
||||
/** @deprecated */
|
||||
find<T = TSchema>(query: FilterQuery<TSchema>, options?: FindOneOptions): Cursor<T>;
|
||||
/** http://mongodb.github.io/node-mongodb-native/3.1/api/Collection.html#findOne */
|
||||
findOne<T = TSchema>(filter: FilterQuery<TSchema>, callback: MongoCallback<T | null>): void;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user