Interjection
tant mieux It's a good thing; so much the better; fortunately; used to express that a chance happening is favorable.