bupkis
    Preparing search index...

    Type Alias MaybeEmptyParsedValues<Parts>

    MaybeEmptyParsedValues: NoNeverTuple<
        Parts extends readonly [
            infer First extends AssertionPart,
            ...(infer Rest extends readonly AssertionPart[]),
        ]
            ? First extends PhraseLiteral
            | PhraseLiteralChoice
                ? readonly [
                    unknown,
                    AssertionImplPart<First>,
                    ...AssertionImplParts<Rest>,
                ]
                : readonly [AssertionImplPart<First>, ...AssertionImplParts<Rest>]
            : readonly [],
    >

    Utility type for parsed values that may be empty.

    This type processes assertion parts recursively to produce parsed values, handling the case where no assertion parts are present (resulting in an empty tuple). It uses NoNeverTuple to filter out never types that may arise during the recursive processing.

    Type Parameters

    • Parts extends readonly AssertionPart[]

      The assertion parts to process