Converting Record Types with Optional Values in TypeScript - Effect Community