File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
dom/src/main/scala/org/scalajs/dom Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,7 @@ trait Body extends js.Object {
22
22
/** Takes a Response stream and reads it to completion. It returns a promise that resolves with a FormData object. */
23
23
def formData (): js.Promise [FormData ] = js.native
24
24
25
- /** Takes a Response stream and reads it to completion. It returns a promise that resolves with a JSON object. //todo:
26
- * define the JSON type, and return a Promise[JSON] as per spec
27
- */
25
+ /** Takes a Response stream and reads it to completion. It returns a promise that resolves with a JSON object. */
28
26
def json (): js.Promise [js.Any ] = js.native
29
27
30
28
/** Takes a Response stream and reads it to completion. It returns a promise that resolves with a USVString (text). */
You can’t perform that action at this time.
0 commit comments