yeah could be tight - SQ uses low numbered gates while TG uses high, so will take a short while just to get between gates
if you don't already have BP consider which transit desk will be quickest - the one at the base of the terminal (near SQ arrival gate) or the one where the pier splits in 2 (near TG departure gate)