我想将对象传递给NbDialogComponent,以及如何从NbDialogComponent获取对象。 context: {data: paymentData}, // here i have got typescripterror closeOnBackdropClick: false,类型记录错误:如何修复
我有一个类似这样的函数,我试图将数据对象传递到一个redux商店,而没有类型记录的抱怨。TreeNodeDatum>) => {
dispatch(saveNode(datum));
/* Here typescriptproperties from type 'HierarchyPointNode<TreeNodeDatum>': x, y, l