The world economy has avoided recession despite the steepest rise in global interest rates since the 1980s.