0

I found the following Typescript code on a stackoverflow site, but I couldn't understand the meaning of the 'new' keyword in the type definition.

type Target = {
new (...args: any[]): any,
name: string
};

Please could someone explain it to me.

Yusuf Ipek
  • 166
  • 1
  • 11

0 Answers0