$ errors.fyi/typescript/TS2367 128 namespaces · 4,025 codes
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.

References

In this namespace

» community-maintained · contribute on GitHub npm i -g errors-fyi && errorfyi ENOENT