makeTypeRef for all leaf types