$ errors.fyi/typescript/TS2774 74 namespaces · 3,092 codes
typescript · typescript/TS2774
TS2774

Condition Always True

TypeScript's type narrowing has determined that a condition is always `true` and therefore the check is unnecessary. Remove the condition or revise the types involved.

References

In this namespace

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