Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
method ZodFunction.prototype.implement
import { ZodFunction } from "https://deno.land/x/frugal@0.3.0/dep/zod.ts";

Type Parameters

F extends InnerTypeOfFunction<Args, Returns>

Returns

ReturnType<F> extends Returns["_output"] ? (...args: Args["_input"]) => ReturnType<F> : OuterTypeOfFunction<Args, Returns>