@blockchaincommons/dcbor-parse - v1.0.0-beta.3
    Preparing search index...

    Type Alias DcborParseErrorTyped<C>

    DcborParseErrorTyped: C extends DcborParseErrorCode
        ? DcborParseError & {
            code: C;
            details: DcborParseErrorDetailsByCode[C];
        }
        : never

    A DcborParseError narrowed to one code: code is C and details is the payload of C. With the default type argument it is the union over every code, so narrowing on error.code narrows error.details.

    Type Parameters