Skip to main content
Module

x/tsafe/Param0.ts

🔩 The missing TypeScript utils
Go to Latest
File
/* eslint-disable @typescript-eslint/no-explicit-any */
import type { Parameters } from "./Parameters.ts";
/** Shorthand for Parameters<typeof f>[0] https://docs.tsafe.dev/param0 */export type Param0<T extends ((...args: any[]) => unknown) | null | undefined | false | ""> = Parameters<T>[0];