Closed erlangxk closed 3 weeks ago
@erlangxk - we had a similar issue in the Effect playground and IIRC upgrading @types/node
solved the issue?
But just in case I'm misremembering, I'll ping @gcanti as well :)
IIRC upgrading @types/node solved the issue?
I think so too. Here's the commit: https://github.com/Effect-TS/website/commit/498084968b25ca5e55f92e8510502c355ddbd9cc#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
What version of Effect is running?
3.10.4
What steps can reproduce the bug?
have dependency of effect ts 3.10.4 and using TS 5.6
What is the expected behavior?
build correctly
What do you see instead?
../../node_modules/.pnpm/effect@3.10.4/node_modules/effect/dist/dts/Utils.d.ts:69:22 - error TS2420: Class 'SingleShotGen<T, A>' incorrectly implements interface 'Generator<T, A, any>'. Type 'SingleShotGen<T, A>' is missing the following properties from type 'Generator<T, A, any>': map, filter, take, drop, and 9 more.
69 export declare class SingleShotGen<T, A> implements Generator<T, A> {