remove @deprecated notice from find(query, options) (#37194)

This commit is contained in:
Stephan Meijer 2019-07-30 03:08:25 +02:00 committed by Jesse Trinity
parent 7a123a7d47
commit 3d6738d37a

View File

@ -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;