11. implement ConstructorParameters<T>

Is this helpful ?

from all members: - accepted / - tried

Parameters<T> handles function type. Similarly, ConstructorParameters<T> is meant for class, it returns a tuple type from the types of a constructor function T.

Please implement MyConstructorParameters<T> by yourself.

class Foo {
  constructor (a: string, b: number, c: boolean) {}

type C = MyConstructorParameters<typeof Foo> 
// [a: string, b: number, c: boolean]

Let's try to solve this problem within 5 mintues.