Skip to content

Commit 960bff8

Browse files
authored
Merge pull request #208 from alfaslash/master
Add signature for formData types (Fetch API)
2 parents 0e72dcb + 9b4dfcb commit 960bff8

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

baselines/dom.generated.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13474,6 +13474,7 @@ interface Body {
1347413474
blob(): Promise<Blob>;
1347513475
json(): Promise<any>;
1347613476
text(): Promise<string>;
13477+
formData(): Promise<FormData>;
1347713478
}
1347813479

1347913480
interface CanvasPathMethods {

inputfiles/addedTypes.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1437,5 +1437,12 @@
14371437
"name": "reason?",
14381438
"type": "any"
14391439
}]
1440+
},
1441+
{
1442+
"kind": "method",
1443+
"interface": "Body",
1444+
"name": "formData",
1445+
"flavor": "Web",
1446+
"signatures": ["formData(): Promise<FormData>"]
14401447
}
14411448
]

0 commit comments

Comments
 (0)