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.

require('ipfs-core') in ipfs package causes invalid typedef genration. #3358

Closed
@Gozala

Description

@Gozala

We had to workaround the fact that following line:

const IPFS = require('ipfs-core')

produces dist/src/index.d.ts like

declare const IPFS: typeof import("ipfs-core/src");

Which then TS seems to fail to resolve, by changing require path to ipfs-core/src (see #3356)

We should figure out what is going on there and find a proper fix for that workaround.

Metadata

Metadata

Assignees

No one assigned

    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