mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-05 12:20:07 +08:00
Merge pull request #7129 from csnover/patch-3
[node] export Stream as class, not interface
This commit is contained in:
commit
dcecb9edd1
1 file changed
+1
-1
Vendored
+1
-1
@@ -1697,7 +1697,7 @@ declare module "crypto" {
|
||||
declare module "stream" {
|
||||
import * as events from "events";
|
||||
|
||||
export interface Stream extends events.EventEmitter {
|
||||
export class Stream extends events.EventEmitter {
|
||||
pipe<T extends NodeJS.WritableStream>(destination: T, options?: { end?: boolean; }): T;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user