Using the ContentNodeSelectorComponentData as shown in the documentation https://www.alfresco.com/abn/adf/docs/content-services/components/content-node-selector.component/
I have an error using:
data: ContentNodeSelectorComponentData = { title: "Choose an item", actionName: "Choose", currentFolderId: someFolderId, select: new Subject<Node[]>() };
'ContentNodeSelectorComponentData' only refers to a type, but is being used as a value here.ts(2693)
What's the problem? why does the documentation not report the problem?