Type Narrowing in TypeScript Generator Functions: An Example
Is there a way to do type narrowing in generator functions?
here's an example:
This has type
here's an example:
This has type
Effect.Effect<string | undefined, RuntimeException, never> where really it is actually Effect.Effect<string, ...>