Ensuring Correct Layer Application Order in TypeScript Code - Effect Community