mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
modify exnteds interface
This commit is contained in:
1 parent
aa8615f8f2
commit
19e6407072
1 file changed
+2
-1
Vendored
+2
-1
@@ -91,7 +91,7 @@ declare module 'request' {
|
||||
body: any;
|
||||
}
|
||||
|
||||
export interface Request extends http.ClientRequest {
|
||||
export interface Request extends stream.Writable {
|
||||
getAgent(): http.Agent;
|
||||
//start(): void;
|
||||
//abort(): void;
|
||||
@@ -110,6 +110,7 @@ declare module 'request' {
|
||||
pipe(dest: stream.Writable, opts?: any): stream.Writable;
|
||||
pause(): void;
|
||||
resume(): void;
|
||||
abort(): void;
|
||||
destroy(): void;
|
||||
toJSON(): string;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user