( options: ZodTaskOptions<TOutput, TContext, TIdentifier, TSchema> )
| 268 | } & TaskOptions<z.input<TSchema>, z.output<TSchema>, TOutput, TContext, TIdentifier>; |
| 269 | |
| 270 | export function zodTask< |
| 271 | TOutput, |
| 272 | TContext extends object, |
| 273 | TIdentifier extends string, |
| 274 | TSchema extends z.ZodTypeAny = z.ZodTypeAny, |
| 275 | >( |
| 276 | options: ZodTaskOptions<TOutput, TContext, TIdentifier, TSchema> |
| 277 | ): Task<z.input<TSchema>, z.output<TSchema>, TOutput, TIdentifier> { |
| 278 | return createTask<z.input<TSchema>, z.output<TSchema>, TOutput, TContext, TIdentifier>(options); |
| 279 | } |
| 280 | |
| 281 | export type ValibotTaskOptions< |
| 282 | TOutput, |
nothing calls this directly
no test coverage detected
searching dependent graphs…