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
Interoperability between several copies of fp-ts #874
Comments
It's this issue: The |
What is the first TypeScript version number where this should work? |
Version 3.5.0-dev.20190525 seems to still have the problem :-/ |
Never mind. Seems to work after all. |
Actually, The problem still happens when you use npm link to link two packages. |
I added a comment on microsoft/TypeScript#30429 |
This problem might not exist at all in fp-ts 2. |
I did encounter this problem several times in |
I'm trying to work with a library that imports fp-ts and exports a function with an
Either<string, string>
return value. However, an attempt to store the return value in variable withEither<string, string>
type causes the compiler to run out of memory. I can get the code to compile by replacing the libraryEither
with localEither
by doinglibraryCall(...args).fold(left, right)
, however this makes the code confusing since one would expect the twoEither
types to be compatible since they both originate from fp-ts.The text was updated successfully, but these errors were encountered: