mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-05 17:10:29 +08:00
The package is actually called plotly.js rather than just plotly 😉
This commit is contained in:
9
types/plotly.js/index.d.ts
vendored
9
types/plotly.js/index.d.ts
vendored
@@ -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
|
||||
@@ -1,4 +1,4 @@
|
||||
import * as Plotly from 'plotly';
|
||||
import * as Plotly from 'plotly.js';
|
||||
|
||||
var data: Plotly.BarData[] = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user