Skip to content

Commit ae819cc

Browse files
committed
fix(index.d.ts): fix debug type in MongooseOptions
1 parent 28b1aa3 commit ae819cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ declare module 'mongoose' {
188188
debug?:
189189
| boolean
190190
| { color?: boolean; shell?: boolean }
191-
| WritableStream
191+
| stream.Writable
192192
| ((collectionName: string, methodName: string, ...methodArgs: any[]) => void);
193193

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

0 commit comments

Comments
 (0)