TS - Only a void function can be called with the 'new' keyword TS - Only a void function can be called with the 'new' keyword typescript typescript