diff options
Diffstat (limited to 'op_crates/fetch/internal.d.ts')
-rw-r--r-- | op_crates/fetch/internal.d.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/op_crates/fetch/internal.d.ts b/op_crates/fetch/internal.d.ts index e02bc6ed2..3206008c5 100644 --- a/op_crates/fetch/internal.d.ts +++ b/op_crates/fetch/internal.d.ts @@ -19,6 +19,15 @@ declare namespace globalThis { Headers: typeof Headers; }; + declare var formData: { + FormData: typeof FormData; + encodeFormData(formdata: FormData): { + body: Uint8Array; + contentType: string; + }; + parseFormData(body: Uint8Array, boundary: string | undefined): FormData; + }; + declare var streams: { ReadableStream: typeof ReadableStream; isReadableStreamDisturbed(stream: ReadableStream): boolean; |