谁能告诉我下面的方法构造函数中的New()是什么意思?我知道TEvent继承自CompositePresentationEvent,但是new()是什么意思呢?TEvent, TParameter>(TParameter parameter) where TEvent :
CompositePresentationEvent<TParameter>, new
在中,它说(d3).map()不再工作了(当我使用.map()时会给我一个错误),我必须使用new Map()。但是,当我这样做时,我会得到以下错误:
const groupIds= new Set(nodes.map(function(n) {})) new Map(function(departmentId)