bupkis
    Preparing search index...

    Type Alias AssertionPart

    AssertionPart: Phrase | z.ZodType

    Union type representing the fundamental building blocks of an assertion.

    An assertion part can be either a phrase (string literal or choice of literals) that describes the natural language portion of the assertion, or a Zod schema that defines validation constraints for assertion arguments.

    // String literal phrase
    type Part1 = 'to be a string';

    // String literal choice
    type Part2 = ['to be', 'to equal'];

    // Zod schema for validation
    type Part3 = z.ZodString;