TypeScript Inference Issue with `Effect.if` and Non-Null Assertion
Something I noticed when using
This shouldn't be the expected behaviour right OR is this a limitation with TS inference
This is on
Effect.if is that if I check for !== undefined (the only other possible value of my variable), the onTrue: () => myVal <~ myVal is possible undefinedThis shouldn't be the expected behaviour right OR is this a limitation with TS inference
This is on
"effect": "3.12.7",