The package is actually called plotly.js rather than just plotly 😉

This commit is contained in:
Chris Gervang
2017-03-25 01:17:11 -07:00
parent b9ce3fc309
commit 144f0dd672
2 changed files with 3 additions and 8 deletions

View File

@@ -278,10 +278,5 @@ declare namespace Plotly {
}
}
declare module 'plotly' {
var Plotly: Plotly.PlotlyStatic;
export = Plotly;
}
declare var Plotly: Plotly.PlotlyStatic;
declare var Plotly: Plotly.PlotlyStatic
export = Plotly

View File

@@ -1,4 +1,4 @@
import * as Plotly from 'plotly';
import * as Plotly from 'plotly.js';
var data: Plotly.BarData[] = [
{