Update plotly.js.d.ts (#10222)

This could also just be an element instead of a selector string
This commit is contained in:
Sachin Patney
2016-07-23 23:27:14 -07:00
committed by Mohamed Hegazy
parent 269fe3fee9
commit b9a4af1c2f

View File

@@ -29,7 +29,7 @@ interface PlotlyConfig {
}
interface PlotlyStatic {
newPlot(divid:string, data:any[], layout?:any, config?:PlotlyConfig):void;
newPlot(divid:string | HTMLElement, data:any[], layout?:any, config?:PlotlyConfig):void;
}
declare module "plotly.js" {