FuncType - v1.21.0
    Preparing search index...

    Variable InvariantViolation

    InvariantViolation: (message: string) => InvariantViolation

    Builds an InvariantViolation. Use it directly where a branch can only be reached by a bug and there is no condition to assert, e.g. throw InvariantViolation("unreachable: unknown variant").

    Type Declaration