Coda by Ian Macalinao
    Preparing search index...

    Interface HiddenSuffixTypeNode<TType, TSuffix>

    Suffixes another type with a list of constant values that are written and read but not surfaced as fields to consumers. When decoding, the suffixed constants are consumed and checked against their expected values before being discarded.

    interface HiddenSuffixTypeNode<
        TType extends TypeNode = TypeNode,
        TSuffix extends
            ConstantValueNode[] | undefined = ConstantValueNode[] | undefined,
    > {
        kind: "hiddenSuffixTypeNode";
        suffix?: TSuffix;
        type: TType;
    }

    Type Parameters

    Index
    kind: "hiddenSuffixTypeNode"
    suffix?: TSuffix

    The constant values written after the wrapped type, in order.

    type: TType

    The wrapped type whose serialisation is followed by the hidden suffix.