MyConstructorParameters
СложнаяНапишите тип MyConstructorParameters который извлекает типы параметров конструктора класса.
TypeScript•UTF-8
Run your code to see results.
Click the Run button above
MyConstructorParameters
СложнаяНапишите тип MyConstructorParameters который извлекает типы параметров конструктора класса.
Примеры:
Input 1: type Params = MyConstructorParameters<typeof User>
Output 1: [string, number]
Output
Run your code to see results.