import { type UnpackData } from "https://deno.land/x/domain_functions@v3.0.0/src/index.ts";
Unpacks the data type of a successful domain function.
Examples
type MyDF = DomainFunction<{ a: string }>
type MyData = UnpackData
// ^? { a: string }
type MyDF = DomainFunction<{ a: string }> type MyData = UnpackData // ^? { a: string }
Type Parameters
F extends DomainFunction
definition: UnpackSuccess<F>["data"]