mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Add default generic to FindAndModify... interface
This commit is contained in:
Vendored
+1
-1
@@ -741,7 +741,7 @@ export interface DeleteWriteOpResultObject {
|
||||
}
|
||||
|
||||
//http://mongodb.github.io/node-mongodb-native/2.1/api/Collection.html#~findAndModifyWriteOpResult
|
||||
export interface FindAndModifyWriteOpResultObject<TSchema> {
|
||||
export interface FindAndModifyWriteOpResultObject<TSchema = Default> {
|
||||
//Document returned from findAndModify command.
|
||||
value?: TSchema;
|
||||
//The raw lastErrorObject returned from the command.
|
||||
|
||||
Reference in New Issue
Block a user