Six months ago the International Monetary Fund (IMF) warned that the world economy was heading for a serious slowdown, in the face of Donald Trump's tariffs.