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 @@ -30,9 +30,9 @@ package object dom {
30
30
/** This type should capture strings consisting only of ASCII chars todo: is there a way to capture this type? */
31
31
type ByteString = String
32
32
33
- /** defined at [[https://fetch.spec.whatwg.org/#body-mixin ¶6.2 Body mixin ]] in whatwg Fetch spec */
33
+ /** defined at [[https://fetch.spec.whatwg.org/#bodyinit-unions ]] in whatwg Fetch spec */
34
34
type BodyInit =
35
- Blob | BufferSource | FormData | String | ReadableStream [Uint8Array ] // todo: add URLSearchParams
35
+ Blob | BufferSource | FormData | String | ReadableStream [Uint8Array ] | URLSearchParams
36
36
37
37
/** WebIDL sequence<T> is js.Array[T] | JSIterable[T]. However @mseddon knows at least Blink's IDL compiler treats
38
38
* these as simply js.Array[T] for now. We keep this type as a reminder to check in more detail
You can’t perform that action at this time.
0 commit comments