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.
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.