Ensuring Type Safety with `Record.mapEntries` in TypeScript - Effect Community