Troubleshooting 'Either' Function Error in TypeScript Code - Effect Community