mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Update plotly.js.d.ts (#10222)
This could also just be an element instead of a selector string
This commit is contained in:
committed by
Mohamed Hegazy
parent
269fe3fee9
commit
b9a4af1c2f
2
plotly.js/plotly.js.d.ts
vendored
2
plotly.js/plotly.js.d.ts
vendored
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user