← Code LabTypeScript0/50 solved · 0%
Utility Types · medium

36. ConstructorParameters

Extract arguments of a class constructor.

Use `ConstructorParameters` to get the types of `new User(id, name)`.
Required in your answer: ConstructorParameters<typeof User>