QuizAdvanced
ConstructorParameters basics
Learn what ConstructorParameters extracts from a class or constructor type.
Given `class Point { constructor(x: number, y: number) {} }`, what does `ConstructorParameters<typeof Point>` evaluate to?
Learn what ConstructorParameters extracts from a class or constructor type.
Given `class Point { constructor(x: number, y: number) {} }`, what does `ConstructorParameters<typeof Point>` evaluate to?