Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a4ea5f9

Browse files
authored
fix: add missing formdata export to types (#1518)
* fix: add missing formdata export to types closes #1517 1517
1 parent 61b3b5a commit a4ea5f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

@types/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/// <reference lib="dom" />
33

44
import {RequestOptions} from 'http';
5+
import {FormData} from 'formdata-polyfill/esm.min.js';
56
import {
67
Blob,
78
blobFrom,
@@ -21,6 +22,7 @@ type AbortSignal = {
2122
export type HeadersInit = Headers | Record<string, string> | Iterable<readonly [string, string]> | Iterable<Iterable<string>>;
2223

2324
export {
25+
FormData,
2426
Blob,
2527
blobFrom,
2628
blobFromSync,

0 commit comments

Comments
 (0)