what is new() in Typescript?

后端 未结 3 682
一生所求
一生所求 2020-12-07 18:14

I encountered new() in the official document here about generics.

Here is the code context:

function create(c: { new(): T; } )         


        
3条回答
提交回复
热议问题