score:0

If someone has the same problem, the solution was to assign d3Lib inside the constructor.

score:1

You need the type definitions for D3.

You can install the NPM Package here: https://www.npmjs.com/package/@types/d3


Related Query

More Query from same tag