I found my problem. Definitely Typed does not provide a typings file for d3js 4.0 but for 3.0 versions.

That's why I had: - a method d3.scale.linear() available which returned undefined (typings for d3 3.0) - the library d3-scale for d3 4.0 which crashed during build

So I will go back to d3js 3.0 until they provide a d.ts file for the 4.0.

Related Query

More Query from same tag