11. implement ConstructorParameters<T>

TypeScript

  - 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> 

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