mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-21 13:27:15 +08:00
Merge pull request #19008 from route2Dev/master
Adding stockChart method to Highstock.Static interface
This commit is contained in:
5
types/highcharts/highstock.d.ts
vendored
5
types/highcharts/highstock.d.ts
vendored
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user