stencila/executa

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

Opened this issue · 1 comments

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.

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.