(
key: Key,
schema: Schema
)
| 2735 | // } |
| 2736 | |
| 2737 | setKey<Key extends string, Schema extends ZodTypeAny>( |
| 2738 | key: Key, |
| 2739 | schema: Schema |
| 2740 | ): ZodObject<T & { [k in Key]: Schema }, UnknownKeys, Catchall> { |
| 2741 | return this.augment({ [key]: schema }) as any; |
| 2742 | } |
| 2743 | // merge<Incoming extends AnyZodObject>( |
| 2744 | // merging: Incoming |
| 2745 | // ): //ZodObject<T & Incoming["_shape"], UnknownKeys, Catchall> = (merging) => { |