MyConstructorParameters

Hard

Implement MyConstructorParameters which extracts constructor parameter types.

Examples:

Input 1: type Params = MyConstructorParameters<typeof User>
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.