@docusign/iam-sdk
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@docusign/iam-sdk* API.
7 lines • 390 B
TypeScript
import * as z from "zod/v3";
/**
* Smart union parser that tries all schemas and returns the best match
* based on the number of populated fields.
*/
export declare function smartUnion<Options extends readonly [z.ZodType, z.ZodType, ...z.ZodType[]]>(options: Options): z.ZodType<z.output<Options[number]>, z.ZodTypeDef, z.input<Options[number]>>;
//# sourceMappingURL=smartUnion.d.ts.map