Skip to content

Commit

Permalink
Update index.d.ts
Browse files Browse the repository at this point in the history
added callback typing for index.d.ts
  • Loading branch information
chill-cod3r committed Dec 28, 2018
1 parent cbcefe4 commit 39dbb43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ declare module 'monk' {
findOneAndUpdate<U = T>(
query: TQuery,
update: Object,
options?: Object
options?: Object,
callback?: (err: Error, data: U) => void
): Promise<U | undefined>
geoHaystackSearch<U = T>(
x: number,
Expand Down

0 comments on commit 39dbb43

Please sign in to comment.