Type alias OpenedContract<F>

OpenedContract<F>: {
    [P in keyof F]: P extends `${"get" | "send" | "is"}${string}`
        ? F[P] extends ((x, ...args) => infer R)
            ? ((...args) => R)
            : never
        : F[P]
}

Type Parameters

  • F