File tree 1 file changed +2
-2
lines changed
dom/src/main/scala/org/scalajs/dom 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class FormData(form: HTMLFormElement = js.native) extends js.Iterable[js.Tuple2[
27
27
* The field's value. This can be a string or `Blob` (including subclasses such as File). If none of these are
28
28
* specified the value is converted to a string.
29
29
*/
30
- def append (name : js. Any , value : String ): Unit = js.native
30
+ def append (name : String , value : String ): Unit = js.native
31
31
32
32
/** The `append()` method of the `FormData` interface appends a new value onto an existing key inside a `FormData`
33
33
* object, or adds the key if it does not already exist.
@@ -41,7 +41,7 @@ class FormData(form: HTMLFormElement = js.native) extends js.Iterable[js.Tuple2[
41
41
* The filename reported to the server (a string), when a `Blob` or `File` is passed as the second parameter. The
42
42
* default filename for `Blob` objects is "blob". The default filename for `File` objects is the file's filename.
43
43
*/
44
- def append (name : js. Any , value : Blob , blobName : String ): Unit = js.native
44
+ def append (name : String , value : Blob , blobName : String ): Unit = js.native
45
45
46
46
/** The `delete()` method of the `FormData` interface deletes a key and its value(s) from a `FormData` object.
47
47
* @param name
You can’t perform that action at this time.
0 commit comments