An air strike late on Tuesday hit a detention center for migrants in the Tajoura suburb of the Libyan capital of Tripoli, an official said.