MyParameters

Hard

Implement MyParameters which extracts function parameter types as a tuple.

Examples:

Input 1: type Params = MyParameters<typeof fn>
Output 1: [string, number]
Output
Run your code to see results.

By continuing to use the platform, you accept the terms of the Privacy Policy and the use of cookies.