Understanding the `modify` Function Signature in TypeScript - Effect Community