data-cap
    Preparing search index...

    Interface OptionalMarker<T>

    Produced by fields.optional(...) -- recognized only during buildData's schema-authoring walk; the resolved runtime default is always undefined.

    interface OptionalMarker<T> {
        "[FIELD_MARKER]": "optional";
        inner: T;
    }

    Type Parameters

    • T
    Index
    "[FIELD_MARKER]": "optional"

    Internal marker discriminant -- see the module doc comment.

    inner: T

    The declared inner default, kept only so the underlying type can be inferred -- never the resolved runtime value.