I got a monorepo where we use fp-ts on almost every package.
When upgrading to version 2.8.2 (from version 2.6.2), I got a problem in two of my packages involving array#sequence.
Erros like that popped with other types as well, like Either.
Strangest thing, I use array#sequence in other places (but not in the packages I got those errors) and it seems to work as expected. At first, I thought it was something with typescript or the tsconfig files, but I updated the first and the error was not solved. Looking into my tsconfig files, I found nothing that could cause such.
Anyone has experienced something similar, or know a path to solve this?
I got a monorepo where we use fp-ts on almost every package. When upgrading to version 2.8.2 (from version 2.6.2), I got a problem in two of my packages involving
array#sequence
.Instead of getting this:
I'm getting this:
The code worked properly in version 2.6.2.
Erros like that popped with other types as well, like
Either
.Strangest thing, I use
array#sequence
in other places (but not in the packages I got those errors) and it seems to work as expected. At first, I thought it was something withtypescript
or thetsconfig
files, but I updated the first and the error was not solved. Looking into mytsconfig
files, I found nothing that could cause such.Anyone has experienced something similar, or know a path to solve this?