A literal sequence of name-value string pairs, or any object — such as a FormData object — with an iterator that produces a sequence of string pairs. Note that File entries will be serialized as [object File] rather than as their filename (as they would in an application/x-www-form-urlencoded form).
URLSearchParams has:
where
Sequence[String]
is an alias forjs.Array[String]
.However this should be a sequence of string pairs not just strings, i.e.
Sequence[js.Tuple2[String, String]]
.https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/URLSearchParams#options: