From 144f0dd6727c922e3209966fd75050c4c8eeb331 Mon Sep 17 00:00:00 2001 From: Chris Gervang Date: Sat, 25 Mar 2017 01:17:11 -0700 Subject: [PATCH] =?UTF-8?q?The=20package=20is=20actually=20called=20plotly?= =?UTF-8?q?.js=20rather=20than=20just=20plotly=20=F0=9F=98=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/plotly.js/index.d.ts | 9 ++------- types/plotly.js/plotly.js-tests.ts | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) 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[] = [ {