UNPKG

typescript-type

Version:
2 lines (1 loc) 90 B
export type Params<F extends Function> = F extends (...args: infer U) => any ? U : never;