mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
modify exnteds interface
This commit is contained in:
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