typescript · typescript/TS2367
TS2367
Comparison Always False
TypeScript determined that the two types being compared have no overlap, so the condition can never be true. This typically indicates a logic error, a misuse of a type guard, or a stale type annotation that no longer matches runtime values.