Pattern Matching on an `Either` Type in Typescript - Effect Community