method z.ZodObject.prototype.setKeyimport { z } from "https://dotland.deno.dev/x/zod@v3.21.2/index.ts"; const { ZodObject } = z; setKey<Key extends string, Schema extends ZodTypeAny>(key: Key, schema: Schema): ZodObject<T & [k in Key]: Schema, UnknownKeys, Catchall>Type ParametersKey extends stringSchema extends ZodTypeAnyParameterskey: Keyschema: SchemaReturnsZodObject<T & [k in Key]: Schema, UnknownKeys, Catchall>