Handling Type Inference for Nullable Values in TypeScript Effects
Is there a way to avoid this problem other than just casting the final value as
The problem is that
string | null?The problem is that
getFoo's type is Effect.Effect<null>, not Effect.Effect<string|null>.