-
-
Notifications
You must be signed in to change notification settings - Fork 269
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
build error using TS 5.6 #3848
Comments
I think so too. Here's the commit: Effect-TS/website@4980849#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519 |
@IMax153 The error still occurs if tsconfig: {
"compilerOptions": {
"target": "es2024",
"module": "nodenext",
"strict": true,
"lib": ["ESNext.Iterator", "DOM"]
}
} versions:
|
Same thing happens to me, same versions and config as above. Can't get it working with recent versions of TS. |
@zkx5xkt @donflopez @erlangxk - can you folks do me a favor and try this snapshot build in your project and let me know if the issue persists?
|
I tested the snapshot build, and everything is working fine now, the issue is no longer present. |
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/[email protected]/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> {
~~~~~~~~~~~~~
Found 1 error in ../../node_modules/.pnpm/[email protected]/node_modules/effect/dist/dts/Utils.d.ts:69
Additional information
if build with TS 5.5, it's successful.
The text was updated successfully, but these errors were encountered: