Skip to content
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

TS Error: Return type annotation circularly references itself. #2334

Open
Exrun94 opened this issue Oct 31, 2022 · 2 comments
Open

TS Error: Return type annotation circularly references itself. #2334

Exrun94 opened this issue Oct 31, 2022 · 2 comments

Comments

@Exrun94
Copy link

Exrun94 commented Oct 31, 2022

Upgrading from v 0.14.8 to 1.1.3 (any v1+ leads to the same issue)
After building in dev env, I am getting an typescript error from the library

[at-loader] ./node_modules/@redux-saga/core/types/ts3.6/effects.d.ts:465:4 TS2577: Return type annotation circularly references itself.
The project does compile but sagas do not work

I have another project with the exact same typescript / babel version which compiles fine.
"@babel/core": "7.2.2",
"typescript": "3.8.3",

Any assistance will be appreciated.

@Andarist
Copy link
Member

Please always try to share a repro case in a runnable form - either by providing a git repository to clone or a codesandbox. OSS maintainers usually can't afford the time to set up the repro, even if exact steps are given.

@neurosnap
Copy link
Member

@Exrun94 Thanks for submitting this issue. Could you please add a repro case so we can evaluate this issue? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants