zod-deep-partial - v1.0.0
    Preparing search index...

    Function zodDeepPartial

    • Recursively makes all properties in a Zod schema optional

      Type Parameters

      • T extends ZodTypeAny

      Parameters

      • schema: T

        The Zod schema to make deeply partial

      Returns DeepPartial<T>

      A new Zod schema where all properties are optional at all levels