mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-07 09:49:07 +00:00
plotly.js depends on older version of d3 (#29677)
This commit is contained in:
Vendored
+2
-2
@@ -13,7 +13,7 @@
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
/// <reference types="d3" />
|
||||
import * as _d3 from "d3";
|
||||
export as namespace Plotly;
|
||||
|
||||
export interface StaticPlots {
|
||||
@@ -189,7 +189,7 @@ export function plot(root: Root, data: Data[], layout?: Partial<Layout>, config?
|
||||
export function relayout(root: Root, layout: Partial<Layout>): Promise<PlotlyHTMLElement>;
|
||||
export function redraw(root: Root): Promise<PlotlyHTMLElement>;
|
||||
export function purge(root: Root): void;
|
||||
export const d3: any;
|
||||
export const d3: typeof _d3;
|
||||
export function restyle(root: Root, aobj: Data, traces?: number[] | number): Promise<PlotlyHTMLElement>;
|
||||
export function update(root: Root, traceUpdate: Data, layoutUpdate: Partial<Layout>, traces?: number[] | number): Promise<PlotlyHTMLElement>;
|
||||
export function addTraces(root: Root, traces: Data | Data[], newIndices?: number[] | number): Promise<PlotlyHTMLElement>;
|
||||
|
||||
@@ -13,6 +13,9 @@
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"paths": {
|
||||
"d3": [ "d3/v3" ]
|
||||
},
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
|
||||
@@ -13,6 +13,9 @@
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"paths": {
|
||||
"d3": [ "d3/v3" ]
|
||||
},
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
|
||||
Reference in New Issue
Block a user