This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
[Types] ipfs-http-server HttpApi requires JSIPFS type #3639
Labels
need/triage
Needs initial labeling and prioritization
Ref: ceramicnetwork/js-ceramic#1194
a418a52 introduced this beast to the
HttpApi
constructor:@typedef {IPFS & { ipld: IPLD, libp2p: libp2p }} JSIPFS
. How do we expect users to get one of these things. The two places we useHttpApi
in the test don't seem to have types coverage. Is a@ts-ignore
just how it has to be for now or is there an alternative that wraps up this little beasty from an existingipfs
instance?The text was updated successfully, but these errors were encountered: