import { z } from "https://deno.land/x/zod@v3.22.2/index.ts";
const { ZodFunction } = z;
Type Parameters
F extends InnerTypeOfFunction<Args, Returns>
Parameters
func: F
Returns
ReturnType<F> extends Returns["_output"] ? (...args: Args["_input"]) => ReturnType<F> : OuterTypeOfFunction<Args, Returns>