Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

[Types] ipfs-http-server HttpApi requires JSIPFS type #3639

Closed
@rvagg

Description

@rvagg

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 use HttpApi 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 existing ipfs instance?

Metadata

Metadata

Assignees

Labels

need/triageNeeds initial labeling and prioritization

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions