git.iko.soy/rowtype-yoga/purescript-fetch
on main help sign in
Add to fetchBody as well
817ea29sigma-andex
src/Fetch.purs+1−1
@@ -71,7 +71,7 @@ fetch url r = do
71
71
72-- | Like `fetch`, but can accept arbitrary `RequestBody`s.
72-- | Like `fetch`, but can accept arbitrary `RequestBody`s.
73fetchBody
73fetchBody
74− :: forall input output thruIn thruOut headers body
74+ :: forall input output @thruIn thruOut headers body
75 . ToRequestBody body
75 . ToRequestBody body
76 => Union input thruIn (HighlevelRequestOptions headers body)
76 => Union input thruIn (HighlevelRequestOptions headers body)
77 => Union output thruOut CoreRequest.UnsafeRequestOptions
77 => Union output thruOut CoreRequest.UnsafeRequestOptions