Skip to content

Commit cac6045

Browse files
committed
Update FormData methods with appropriate types
1 parent 6366719 commit cac6045

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib/dom.iterable.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ interface FormData {
88
/**
99
* Returns an array of key, value pairs for every entry in the list
1010
*/
11-
entries(): IterableIterator<[string, any]>;
11+
entries(): IterableIterator<[string, string | File]>;
1212
/**
1313
* Returns a list of keys in the list
1414
*/
1515
keys(): IterableIterator<string>;
1616
/**
1717
* Returns a list of values in the list
1818
*/
19-
values(): IterableIterator<any>;
19+
values(): IterableIterator<string | File>;
2020

21-
[Symbol.iterator](): IterableIterator<any>;
21+
[Symbol.iterator](): IterableIterator<string | File>;
2222
}
2323

2424
interface NodeList {

0 commit comments

Comments
 (0)