ACP v2 TypeScript SDK — EXPERIMENTAL DRAFT - v2.0.0
    Preparing search index...

    Type Alias UnknownVariant<T>Experimental

    UnknownVariant: T & { "[unknownVariant]": true }

    A variant of an extensible union that this SDK does not know, as received from a peer, for example one added by a newer ACP version.

    Only received values have this type. A value you build is a known variant, checked field by field, or a custom variant whose tag starts with _, so a misspelled or missing field on a known variant is a compile error. Received values keep the type, so passing them on needs no conversion. The brand exists only in the types.

    Type Parameters

    • T