We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e912d3c commit 4fe536dCopy full SHA for 4fe536d
src/main/scala/org/scalajs/dom/experimental/Fetch.scala
@@ -309,7 +309,7 @@ class Headers(map: HeadersInit = js.Array[js.Array[String]]())
309
*
310
* @param name a ByteString, ie. only ASCII chars
311
*/
312
- def get(name: ByteString): js.UndefOr[ByteString] = js.native
+ def get(name: ByteString): ByteString = js.native
313
314
/**
315
* The getAll() method of the Headers interface returns an array of all the
0 commit comments