dingxyang opened this issue 2 years ago · 0 comments
type MyParameters<T extends (...args: any[]) => any> = T extends (...args: infer P) => any ? P : never;