Accepting Schema.Literal as a function parameter in Typescript - Effect Community