Custom length-prefixed-stream type definition missing from package distribution
alex-ketch opened this issue · 1 comments
alex-ketch commented
The custom length-prefixed-stream
type definition causes errors when used in other projects.
There's a workaround, but it's not ideal, to enable "skipLibCheck": true
in the consuming project's tsconfig.json
.
We can try to contribute the definition to DefinitelyTyped, look into including the definition with the packaged module and seeing if that resolves the issue, or explore alternatives.
nokome commented
Honestly, I'd prefer just to // @ts-ignore
length-prefixed-stream
and delete declarations.d.ts
than go down the resource ravenous rabbit hole of JS/TS packaging again.