errors.fyi community error code reference
TS2774
typescript

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

โ† all namespaces for TS2774