Skip to content

Commit 862b43e

Browse files
committed
Update FormData.scala
1 parent 60f2e98 commit 862b43e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dom/src/main/scala/org/scalajs/dom/FormData.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class FormData(form: HTMLFormElement = js.native) extends js.Iterable[js.Tuple2[
2727
* The field's value. This can be a string or `Blob` (including subclasses such as File). If none of these are
2828
* specified the value is converted to a string.
2929
*/
30-
def append(name: js.Any, value: String): Unit = js.native
30+
def append(name: String, value: String): Unit = js.native
3131

3232
/** The `append()` method of the `FormData` interface appends a new value onto an existing key inside a `FormData`
3333
* 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[
4141
* The filename reported to the server (a string), when a `Blob` or `File` is passed as the second parameter. The
4242
* default filename for `Blob` objects is "blob". The default filename for `File` objects is the file's filename.
4343
*/
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
4545

4646
/** The `delete()` method of the `FormData` interface deletes a key and its value(s) from a `FormData` object.
4747
* @param name

0 commit comments

Comments
 (0)