Closed upsetbit closed 2 years ago
Hi @upsetbit,
I'll check it shortly. I had some problems building the code lately so this may be connected.
Ok, there is a simple fix - the Readable
interface has changed. This should be fixed today.
Hey @upsetbit - please check if this now works.
Here's the code you proposed as a test - it should be working: https://github.com/scramjetorg/scramjet/tree/develop/test/ts-test
I published the changes to NPM just now.
Actually the new version is 4.36.1
and has been published just now. Let me know if this helped.
@MichalCz thank you for this quick fix. I've tested scramjet==4.36.1
alongside @types/node==16.11.8
and saw no problem. You can close this issue.
Fantastic. :)
We'll be releasing a new version of Scramjet's core framework with a new engine and two new programming languages early next year so if you like this, I'd recommend subscribing to our repo and perhaps you could also push the star button. :)
But our work here is done. :)
Thank you for this great project and for releasing it under an open source license!
Describe the bug Typescript reports the following typing error when building:
To Reproduce Steps to reproduce the behavior:
Create a new directory, init npm and install basic dependencies
npm i --save-dev typescript @types/node scramjet
Create a tsc config file
Create a simple file that uses
scramjet
StringStream .fromString('hello world', 'utf-8') .lines(' ') .toArray() .then((t) => console.log(t.join(' ')))