You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The HTTPOptions type extends FetchOptions which extends RequestInit from electron-fetch, which has a body type of Stream | string | Blob | Buffer | null which does not include FormData.
In js-IPFS we transform multipart requests into FormData objects in the browser, which TS then says cannot be used with the http module exported by this module, since the types in electron-fetch say FormData is not a supported body type.
The text was updated successfully, but these errors were encountered:
The HTTPOptions type extends FetchOptions which extends RequestInit from
electron-fetch
, which has a body type ofStream | string | Blob | Buffer | null
which does not includeFormData
.In js-IPFS we transform multipart requests into FormData objects in the browser, which TS then says cannot be used with the http module exported by this module, since the types in
electron-fetch
say FormData is not a supported body type.The text was updated successfully, but these errors were encountered: