MyConstructorParameters

Сложная

Напишите тип MyConstructorParameters который извлекает типы параметров конструктора класса.

Примеры:

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