That's of course also true of a compact space, the author was being imprecise there. What they meant was definitely sequential compactness, as mentioned by a sibling comment.