ipfs / ipfs/js-ipfs-utils

TypeScript declarations broken in 9.0.4

Open
#169 5 comments 12 reactions 0 assignees View on GitHub
need/triage
Dominant language
JavaScript
Stars
25
Forks
30
PR merge metrics
No merged PRs in 30d

Description

Hello,

after recent clean install of project dependencies (after removal of package-lock) we stumbled upon a build failure:
```
node_modules/ipfs-utils/dist/src/files/glob-source.d.ts:10:14 - error TS2503: Cannot find namespace 'fs'.

10 content: fs.ReadStream | undefined;
```
After examining the contents of that file, it looks like the `fs` has no reference. It worked in 9.0.2, so I downgraded and found that there's a missing part at the top:
```
///
```
that causes the build to fail.

I'm not too sure what changed between the versions, but the downgrade definitely did the trick.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.