Closed euberdeveloper closed 2 years ago
Hi, I've just tried. It fixes all of those errors but one:
node_modules/puppeteer-stream/dist/PuppeteerStream.d.ts:8:5 - error TS2416: Property 'destroy' in type 'Stream' is not assignable to the same property in base type 'Readable'.
Type '() => Promise<void>' is not assignable to type '(error?: Error | undefined) => this'.
Type 'Promise<void>' is not assignable to type 'this'.
'this' could be instantiated with an arbitrary type which could be unrelated to 'Promise<void>'.
8 destroy(): Promise<void>;
~~~~~~~
Found 1 error.
I can't reopen the issue so I create a new one.
When transpiling with Typescript I obtain these errors:
Version of ts: 4.5.5 Version of your lib: 2.0.8