mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-06 06:19:58 +08:00
Merge pull request #18841 from azmenak/patch-1
Highcharts: Fix interface for update method
This commit is contained in:
4
types/highcharts/index.d.ts
vendored
4
types/highcharts/index.d.ts
vendored
@@ -6380,11 +6380,11 @@ declare namespace Highcharts {
|
||||
* found, the first item is updated. So for example, running chart.update with a series item without an id, will cause
|
||||
* the existing chart's first series to be updated.
|
||||
* See also the responsive option set. Switching between responsive.rules basically runs chart.update under the hood.
|
||||
* @param {ChartOptions} option A configuration object for the new chart options as defined in the options section of the API.
|
||||
* @param {Options} option A configuration object for the new chart options as defined in the options section of the API.
|
||||
* @param [boolean] redraw Whether to redraw the chart. Defaults to true.
|
||||
* @since 5.0.0
|
||||
*/
|
||||
update(options: ChartOptions, redraw?: boolean): void;
|
||||
update(options: Options, redraw?: boolean): void;
|
||||
/**
|
||||
* This method is deprecated as of 2.0.1. Updating the chart position after a move operation is no longer necessary.
|
||||
* @since 1.2.5
|
||||
|
||||
Reference in New Issue
Block a user