Effect CommunityEC
Effect Community6mo ago
1 reply
johtso

Difference in Behavior Between TypeScript 5.8.3 and 5.9 Beta

I'm getting a really strange difference in behaviour between typescript 5.8.3 and the 5.9 beta.. do you think this is worth opening an issue for?

If I change almost anything the return value of getInvoices changes, even something as minor as commenting out one of the fields in one of the schemas

Really odd behaviour

Serves me right for using a beta.. spent literally hours trying to figure out what was going on before I thought to try switching typescript versions

https://github.com/johtso/typescript-issue

https://effect.website/play#5e116318545d

https://github.com/microsoft/TypeScript/issues/62090
Was this page helpful?