mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-07 16:30:12 +08:00
Make count in RangeSelectorButton optional
Referring to http://api.highcharts.com/highstock#rangeSelector.buttons when type is 'all' you can omit count.
This commit is contained in:
Vendored
+2
-2
@@ -30,7 +30,7 @@ interface HighstockNavigatorOptions {
|
||||
|
||||
interface RangeSelectorButton {
|
||||
type: string; //Defines the timespan, can be one of 'millisecond', 'second', 'minute', 'day', 'week', 'month', 'ytd' (year to date), 'year' and 'all'.
|
||||
count: number;
|
||||
count?: number;
|
||||
text: string;
|
||||
dataGrouping?: any; //not sure how this works
|
||||
}
|
||||
@@ -117,4 +117,4 @@ interface JQuery {
|
||||
highcharts(type: string): HighchartsChartObject;
|
||||
highcharts(type: string, options: HighchartsOptions): JQuery;
|
||||
highcharts(type: string, options: HighchartsOptions, callback: (chart: HighchartsChartObject) => void): JQuery;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user