TypeScript Unknown States in Open Banking Consent Flows Open banking frontend work is full of states that look small in the UI but carry real product trust consequences. A consent journey can move through loading, redirecting, returning, authorising, partially authorised, expired, failed, cancelled, and retryable states. If the frontend treats those states as a loose set of booleans, the experience can quickly become confusing: a spinner that never explains itself, a success message that appears too early, or an error state that makes a recoverable journey feel broken. TypeScript is useful here because it encourages the team to name uncertainty.…