The official definition, as per the FIDE laws of chess [1], article 3.6 is
"The knight may move to one of the squares nearest to that on which it stands but not on the same rank, file or diagonal."
"The knight may move to one of the squares nearest to that on which it stands but not on the same rank, file or diagonal."