Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/tsafe/index.ts>Parameters

🔩 The missing TypeScript utils
Go to Latest
type alias Parameters
import { type Parameters } from "https://deno.land/x/tsafe@v1.6.1/index.ts";

Type Parameters

T extends
| ((...args: any[]) => unknown)
| null
| undefined
| false
| ""
definition: T extends (...args: infer P) => any ? P : never