Cotal TypeScript packages
    Preparing search index...

    Type Alias JoinRefusalCode

    JoinRefusalCode: typeof JOIN_REFUSAL_CODES[number]

    The type is DERIVED from the runtime array above, so there is exactly ONE universe of codes.

    A suite that restated this list would carry a second copy of the thing it measures, and copies drift in the direction that hurts: an arm added here but not there makes the emitted-code check either falsely red or, if loosened to compensate, permanently green. Exporting the array and deriving the type means a new arm is visible to the suite by construction, with the union no less closed than a hand-written one.