Using Object.assign with Effect.fn in TypeScript - Effect Community