Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom length-prefixed-stream type definition missing from package distribution #126

Open
alex-ketch opened this issue Apr 27, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@alex-ketch
Copy link
Contributor

The custom length-prefixed-stream type definition causes errors when used in other projects.

Screen Shot 2020-04-27 at 11 56 17

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.

@alex-ketch alex-ketch added the bug Something isn't working label Apr 27, 2020
@nokome
Copy link
Member

nokome commented Apr 27, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants