Skip to content

Commit

Permalink
fix(index.d.ts): fix debug type in MongooseOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokisaki committed Jul 29, 2021
1 parent 28b1aa3 commit ae819cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ declare module 'mongoose' {
debug?:
| boolean
| { color?: boolean; shell?: boolean }
| WritableStream
| stream.Writable
| ((collectionName: string, methodName: string, ...methodArgs: any[]) => void);

/** If set, attaches [maxTimeMS](https://docs.mongodb.com/manual/reference/operator/meta/maxTimeMS/) to every query */
Expand Down

0 comments on commit ae819cc

Please sign in to comment.