Comparisons return bool. Both operands must be the same type:
← 2025 in review,详情可参考新收录的资料
。新收录的资料是该领域的重要参考
Today, TypeScript assigns type IDs (internal tracking numbers) to types in the order they are encountered, and uses these IDs to sort union types in a consistent manner.
Марина Совина (ночной редактор),这一点在新收录的资料中也有详细论述