Skip to content

Commit 305bb28

Browse files
committed
fix(types): restrict StreamOptions.objectMode to true (#3686)
1 parent aac1b0f commit 305bb28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

typings/mysql/lib/protocol/sequences/Query.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export interface StreamOptions {
9494
/**
9595
* The object mode of the stream (Default: true)
9696
*/
97-
objectMode?: any;
97+
objectMode?: true;
9898
}
9999

100100
export interface QueryError extends NodeJS.ErrnoException {

0 commit comments

Comments
 (0)