We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 905f173 + 4d41a32 commit a70ef2aCopy full SHA for a70ef2a
1 file changed
index.d.ts
@@ -9,7 +9,16 @@ import * as http from 'http';
9
10
export = FormData;
11
12
+interface Options {
13
+ writable?: boolean;
14
+ readable?: boolean;
15
+ dataSize?: number;
16
+ maxDataSize?: number;
17
+ pauseStreams?: boolean;
18
+}
19
+
20
declare class FormData extends stream.Readable {
21
+ constructor(options?: Options);
22
append(key: string, value: any, options?: FormData.AppendOptions | string): void;
23
getHeaders(): FormData.Headers;
24
submit(
0 commit comments