Confusing Behavior with Type Error in TypeScript Schema - Effect Community