Skip to content

Commit 47e7528

Browse files
committedSep 2, 2022
types: make options decl work for ts 3
540540f#r82836300 Thanks, @jimlindeman
1 parent e5b768d commit 47e7528

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ declare class Minipass<
108108
// Options required if not reading buffers
109109
constructor(
110110
...args: RType extends Buffer
111-
? [] | [options: Minipass.Options<RType>]
112-
: [options: Minipass.Options<RType>]
111+
? [] | [Minipass.Options<RType>]
112+
: [Minipass.Options<RType>]
113113
)
114114

115115
write(chunk: WType, cb?: () => void): boolean

0 commit comments

Comments
 (0)
Please sign in to comment.