Merge pull request #19008 from route2Dev/master

Adding stockChart method to Highstock.Static interface
This commit is contained in:
Nathan Shively-Sanders
2017-09-06 16:26:32 -07:00
committed by GitHub

View File

@@ -1,6 +1,8 @@
// Type definitions for Highstock 2.1.5
// Project: http://www.highcharts.com/
// Definitions by: David Deutsch <https://github.com/DavidKDeutsch>
// Definitions by: David Deutsch <http://github.com/DavidKDeutsch>
// Definitions by: Dave Baumann <https://github.com/route2Dev>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import * as Highcharts from "highcharts";
@@ -100,6 +102,7 @@ declare namespace Highstock {
interface Static extends Highcharts.Static {
StockChart: Chart;
stockChart(renderTo: string | HTMLElement, options: Options, callback?: (chart: ChartObject) => void): ChartObject;
}
}