mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-17 13:00:35 +08:00
fix ServerRequest to IncomingMessage
This commit is contained in:
1 parent
7dd54357a8
commit
b552570fb8
1 file changed
+1
-1
Vendored
+1
-1
@@ -25,7 +25,7 @@ declare module "formidable" {
|
||||
onPart: (part: Part) => void;
|
||||
|
||||
handlePart(part: Part): void;
|
||||
parse(req: http.ServerRequest, callback?: (err: any, fields: Fields, files: Files) => any): void;
|
||||
parse(req: http.IncomingMessage, callback?: (err: any, fields: Fields, files: Files) => any): void;
|
||||
}
|
||||
|
||||
export interface Fields {
|
||||
|
||||
Reference in new issue
Block a user