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

Reference of d.ts file not working any more in 1.6.17

$
0
0

@chzh.austin wrote:

Hi,

We have a project using gojs 1.6.13 which reference to the typescript definition file by ///

However, after we npm install latest gojs which is 1.6.17, this is no longer work. The typescript compiler complains on namespace 'go' cannot be found.

Then I tried to use import go = require("go");, it works again.

The instruction is at the bottom of this link https://gojs.net/latest/intro/ . It seems out of date then?

Thanks,
Chuan

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles