Skip to content

Commit cf948a0

Browse files
Fixup TypeScript error for test (#269)
Signed-off-by: Jonathan Kingston <[email protected]>
1 parent 0cea786 commit cf948a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/mock/duplex.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default class MockDuplex extends Stream.Duplex {
2323
this.push(null);
2424
}
2525

26-
end(...args: any[]): void {
26+
end(...args: any[]): this {
2727
this.causeEnd(); // In order to better emulate socket streams
2828
return (Stream.Duplex.prototype.end as any).apply(this, args);
2929
}

0 commit comments

Comments
 (0)