(
...items: Items
)
| 3910 | } |
| 3911 | |
| 3912 | args<Items extends Parameters<(typeof ZodTuple)["create"]>[0]>( |
| 3913 | ...items: Items |
| 3914 | ): ZodFunction<ZodTuple<Items, ZodUnknown>, Returns> { |
| 3915 | return new ZodFunction({ |
| 3916 | ...this._def, |
| 3917 | args: ZodTuple.create(items).rest(ZodUnknown.create()) as any, |
| 3918 | }); |
| 3919 | } |
| 3920 | |
| 3921 | returns<NewReturnType extends ZodType<any, any, any>>(returnType: NewReturnType): ZodFunction<Args, NewReturnType> { |
| 3922 | return new ZodFunction({ |
no test coverage detected