diff --git a/types/plotly.js/index.d.ts b/types/plotly.js/index.d.ts index 6cd34bc4ef..1fbdf3942c 100644 --- a/types/plotly.js/index.d.ts +++ b/types/plotly.js/index.d.ts @@ -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 \ No newline at end of file diff --git a/types/plotly.js/plotly.js-tests.ts b/types/plotly.js/plotly.js-tests.ts index ede3248eb7..293c5ade6a 100644 --- a/types/plotly.js/plotly.js-tests.ts +++ b/types/plotly.js/plotly.js-tests.ts @@ -1,4 +1,4 @@ -import * as Plotly from 'plotly'; +import * as Plotly from 'plotly.js'; var data: Plotly.BarData[] = [ {