I have an issue with adding a nodeTemplateMap in typescript:
the code is :
let nodeTemplateMap: any = new go.Map(‘string’, go.Node);
nodeTemplateMap.add(‘serviceDevice’, this.nodeTemplate());
nodeTemplateMap.add(’’, this.nodeTemplate());
myDiagram.nodeTemplateMap = nodeTemplateMap;
the error I get is :
typeerror:b.de is not a function.