TypeScript Code Issue After Updating to 3.0 - Effect Community