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 {
2222 /** Takes a Response stream and reads it to completion. It returns a promise that resolves with a FormData object. */
2323 def formData (): js.Promise [FormData ] = js.native
2424
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. */
2826 def json (): js.Promise [js.Any ] = js.native
2927
3028 /** 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