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

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 GoJS Introduction -- Northwoods Software . It seems out of date then?

Thanks,
Chuan

I think that depends on how the TypeScript compiler is being called. I know that I have gotten both declarations to work with TypeScript 1.8 and 2.0, in different projects.

Thanks. The second one works fine now.