Avoiding Type Arguments for `Option.some()` and `Option.none()`

Is there a way to avoid specifying the type arguments for Option.some() and Option.none() in this example?

without specifying the type arguments, the return type of getDelay is Effect<Option.None<unknown>() | Option.Some<unknown>()>

https://effect.website/play/#4c53eed694a7
Was this page helpful?