shaKY-iota / type-challenges

Collection of TypeScript type challenges with online judge
https://tsch.js.org/
MIT License
0 stars 0 forks source link

3312 - Parameters #8

Open shaKY-iota opened 2 years ago

shaKY-iota commented 2 years ago
// your answers
type MyParameters<T extends (...args: any[]) => any> = T extends (...args: infer A) => unknown ? A : never