Skip to content

Commit 428f23a

Browse files
authored
fix(mongodb): Added Update Method Prototype to MongoDBService Class (#3494)
1 parent 22243e4 commit 428f23a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/mongodb/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export class MongoDBService<
4141
return this._create(data, params)
4242
}
4343

44+
async update(id: NullableAdapterId, data: Data, params?: ServiceParams): Promise<Result>
4445
async update(id: AdapterId, data: Data, params?: ServiceParams): Promise<Result> {
4546
return this._update(id, data, {
4647
...params,

0 commit comments

Comments
 (0)