Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 6972

Problem with gojs and typescript

$
0
0

@idekkers wrote:

Hey

when porting a working example from JS to TS, I get an error: property 'key' does not exist on type object.

the line has not changed from JS to TS, and all the rest is working perfectly.

the line is :
myDiagram.model.findNodeDataForKey(myDiagram.model.nodeDataArray[i].key).

any ideas?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6972

Trending Articles