I am fairly new to Typescript and am developing an Angular 2.0/Typescript application. I have made d3 available as a typing and I would like to use public methods from D3 as well as interfaces.
To make d3 available I have added the following code:
declare var d3
I need to use the following interface:
private _axises: D3.Selection
and the following public method.
this._axises = d3.select(...)
How do I make both "d3" and "D3" available for usage without the Typescript transpiler throwing any errors?
Thanks