Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ArgsOf

import type { ArgsOf } from "https://raw.githubusercontent.com/EthanThatOneKid/codemod/main/github/shared/generate.ts";

ArgsOf infers the type of the arguments of a generated function.

type ArgsOf<T> = T extends Generate<unknown, infer U> ? U : never;

§Type Parameters

§Type

§
T extends Generate<unknown, infer U> ? U : never
[src]