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

Using GoJS 2.0.3 and Typescript 2.9.2 facing issue in go.List

$
0
0

@senoz wrote:

Error:

  error TS2345: Argument of type 'typeof Point' is not assignable to parameter of type 'Iterable<{}> | {}[]'.
      Type 'typeof Point' is not assignable to type '{}[]'.
        Property 'includes' is missing in type 'typeof Point'.

Code:
new go.List(go.Point).addAll([new go.Point(0, 0), new go.Point(90, 0)]),

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles