Skip to content

Commit 9b4dfcb

Browse files
committed
Add signature for formData types (Fetch API). Add 'flavor': 'Web' and remove formData types from webworker.generated.d.ts
1 parent 16ea293 commit 9b4dfcb

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

baselines/webworker.generated.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,6 @@ interface Body {
11341134
blob(): Promise<Blob>;
11351135
json(): Promise<any>;
11361136
text(): Promise<string>;
1137-
formData(): Promise<FormData>;
11381137
}
11391138

11401139
interface GlobalFetch {

inputfiles/addedTypes.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1442,6 +1442,7 @@
14421442
"kind": "method",
14431443
"interface": "Body",
14441444
"name": "formData",
1445+
"flavor": "Web",
14451446
"signatures": ["formData(): Promise<FormData>"]
14461447
}
14471448
]

0 commit comments

Comments
 (0)